Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanil Osherov <shindo@yandex-team.ru>2015-04-10 19:22:09 +0300
committerDanil Osherov <shindo@yandex-team.ru>2015-04-10 19:34:55 +0300
commit2e0a2f61f4b25bb1442af9940a20726357fbbd85 (patch)
treefb652548b64dc418f2aeb24df8a898e8004b884e /CMakeModules
parent02aa12a29edd405a0b88675e3d14dbff58a971c5 (diff)
CMake: fixed 'Unknown CMake command "find_package_handle_standard_args"'.
Added INCLUDE(FindPackageHandleStandardArgs) before using find_package_handle_standard_args().
Diffstat (limited to 'CMakeModules')
-rw-r--r--CMakeModules/FindGTestSrc.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeModules/FindGTestSrc.cmake b/CMakeModules/FindGTestSrc.cmake
index 89f132e5..13b1c7b5 100644
--- a/CMakeModules/FindGTestSrc.cmake
+++ b/CMakeModules/FindGTestSrc.cmake
@@ -17,6 +17,7 @@ FIND_PATH(GTEST_INCLUDE_DIR
PATH_SUFFIXES include
PATHS ${GTEST_SEARCH_PATH})
+INCLUDE(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GTestSrc DEFAULT_MSG
GTEST_SOURCE_DIR
GTEST_INCLUDE_DIR)