summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTest.cmake
diff options
context:
space:
mode:
authorMario Emmenlauer <memmenlauer@biodataanalysis.de>2020-10-21 15:39:31 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-22 13:32:23 (GMT)
commit6d45f951ed0eba8feefc3c5aeeaeed628bf6497c (patch)
tree055c9ef0abc9f83c248825dd59bfd4cadd1fd187 /Modules/FindGTest.cmake
parent98d5f033ede95133519b8c4b961c058dc3a5d491 (diff)
downloadCMake-6d45f951ed0eba8feefc3c5aeeaeed628bf6497c.zip
CMake-6d45f951ed0eba8feefc3c5aeeaeed628bf6497c.tar.gz
CMake-6d45f951ed0eba8feefc3c5aeeaeed628bf6497c.tar.bz2
FindGTest: Minor whitespace change, moved an include upwards
Diffstat (limited to 'Modules/FindGTest.cmake')
-rw-r--r--Modules/FindGTest.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake
index f905e36..1470b45 100644
--- a/Modules/FindGTest.cmake
+++ b/Modules/FindGTest.cmake
@@ -178,6 +178,8 @@ endfunction()
#
+include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
+
if(NOT DEFINED GTEST_MSVC_SEARCH)
set(GTEST_MSVC_SEARCH MD)
endif()
@@ -226,7 +228,6 @@ if(NOT GTEST_MAIN_LIBRARY)
__gtest_find_and_select_library_configurations(GTEST_MAIN gtest_main)
endif()
-include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTest DEFAULT_MSG GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
if(GTEST_FOUND)