mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
Fix libfind_process for quiet packages
This commit is contained in:
parent
373f991942
commit
280b20ccb7
@ -200,6 +200,11 @@ function (libfind_process PREFIX)
|
|||||||
foreach (i ${configopts})
|
foreach (i ${configopts})
|
||||||
mark_as_advanced(${i})
|
mark_as_advanced(${i})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
set (${PREFIX}_INCLUDE_OPTS ${includeopts} PARENT_SCOPE)
|
||||||
|
set (${PREFIX}_LIBRARY_OPTS ${libraryopts} PARENT_SCOPE)
|
||||||
|
set (${PREFIX}_INCLUDE_DIRS ${includes} PARENT_SCOPE)
|
||||||
|
set (${PREFIX}_LIBRARIES ${libs} PARENT_SCOPE)
|
||||||
|
set (${PREFIX}_FOUND TRUE PARENT_SCOPE)
|
||||||
if (NOT quiet)
|
if (NOT quiet)
|
||||||
message(STATUS "Found ${PREFIX} ${${PREFIX}_VERSION}")
|
message(STATUS "Found ${PREFIX} ${${PREFIX}_VERSION}")
|
||||||
if (LIBFIND_DEBUG)
|
if (LIBFIND_DEBUG)
|
||||||
@ -209,11 +214,6 @@ function (libfind_process PREFIX)
|
|||||||
message(STATUS " ${PREFIX}_LIBRARY_OPTS=${libraryopts}")
|
message(STATUS " ${PREFIX}_LIBRARY_OPTS=${libraryopts}")
|
||||||
message(STATUS " ${PREFIX}_LIBRARIES=${libs}")
|
message(STATUS " ${PREFIX}_LIBRARIES=${libs}")
|
||||||
endif()
|
endif()
|
||||||
set (${PREFIX}_INCLUDE_OPTS ${includeopts} PARENT_SCOPE)
|
|
||||||
set (${PREFIX}_LIBRARY_OPTS ${libraryopts} PARENT_SCOPE)
|
|
||||||
set (${PREFIX}_INCLUDE_DIRS ${includes} PARENT_SCOPE)
|
|
||||||
set (${PREFIX}_LIBRARIES ${libs} PARENT_SCOPE)
|
|
||||||
set (${PREFIX}_FOUND TRUE PARENT_SCOPE)
|
|
||||||
endif()
|
endif()
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user