summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-26 15:40:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-01-26 15:40:39 (GMT)
commit09cad3090415fbe59474232675e8124c8332116a (patch)
tree5795eb9f55533a15502444fd243e61ee82bdb559 /Tests/RunCMake/CMakeLists.txt
parent6ee9efa883c19c7c1ebfba660c76d42551bbaee8 (diff)
parent4bc2c16b5d01a66c00100171ad083e9ab5a6506c (diff)
downloadCMake-09cad3090415fbe59474232675e8124c8332116a.zip
CMake-09cad3090415fbe59474232675e8124c8332116a.tar.gz
CMake-09cad3090415fbe59474232675e8124c8332116a.tar.bz2
Merge topic 'FindGTK2_RunTwice'
4bc2c16b FindGTK2: Add unit test to check variables when run twice 9702b3ee FindGTK2: Fix GTK2_LIBRARIES and GTK2_TARGETS when called twice
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 7e16d0e..c2c744f 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -255,6 +255,11 @@ if(PKG_CONFIG_FOUND)
add_RunCMake_test(FindPkgConfig)
endif()
+find_package(GTK2 QUIET)
+if (GTK2_FOUND)
+ add_RunCMake_test(FindGTK2)
+endif()
+
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio")
add_RunCMake_test(include_external_msproject)
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio ([789]|10)" AND NOT CMAKE_VS_DEVENV_COMMAND)