Include FindPackageHandleStandardArgs.cmake in every find module using it

It just worked so far because FindCXX11 happend to include it
already, and it also happend to be the first FindModule used.
This commit is contained in:
BtbN
2014-08-21 16:38:49 +02:00
parent 5ec0d2ded4
commit 2bf8a7dce9
13 changed files with 13 additions and 1 deletions

View File

@@ -75,6 +75,7 @@ else()
set(FREETYPE_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIR} CACHE PATH "freetype include dirs")
set(FREETYPE_LIBRARIES ${FREETYPE_LIB} CACHE STRING "freetype libraries")
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Freetype DEFAULT_MSG FREETYPE_LIB FREETYPE_INCLUDE_DIR_ft2build FREETYPE_INCLUDE_DIR_freetype2)
mark_as_advanced(FREETYPE_INCLUDE_DIR FREETYPE_INCLUDE_DIR_ft2build FREETYPE_INCLUDE_DIR_freetype2 FREETYPE_LIB)
endif()