1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- function(FIND_PACKAGE_MESSAGE pkg msg details)
-
- if(NOT ${pkg}_FIND_QUIETLY)
- string(REPLACE "\n" "" details "${details}")
- set(DETAILS_VAR FIND_PACKAGE_MESSAGE_DETAILS_${pkg})
- if(NOT "${details}" STREQUAL "${${DETAILS_VAR}}")
-
- message(STATUS "${msg}")
-
-
- set("${DETAILS_VAR}" "${details}"
- CACHE INTERNAL "Details about finding ${pkg}")
- endif()
- endif()
- endfunction()
|