summaryrefslogtreecommitdiffstats
path: root/Tests/FindGTK2
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-09-06 18:41:41 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2015-09-06 18:41:41 (GMT)
commit3b906c8003161f704cc33553f98b57d9dda461b9 (patch)
treea8fe50062827ab2c4edb25c7ba4ca265909ad6b9 /Tests/FindGTK2
parente7777cc5635e95d3b36aaf4e9a528c92534aca30 (diff)
downloadCMake-3b906c8003161f704cc33553f98b57d9dda461b9.zip
CMake-3b906c8003161f704cc33553f98b57d9dda461b9.tar.gz
CMake-3b906c8003161f704cc33553f98b57d9dda461b9.tar.bz2
GTK2: Add --build-project to all GTK2 tests
Otherwise xcodebuild invocation will fail.
Diffstat (limited to 'Tests/FindGTK2')
-rw-r--r--Tests/FindGTK2/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/FindGTK2/CMakeLists.txt b/Tests/FindGTK2/CMakeLists.txt
index 1c5987c..0105fae 100644
--- a/Tests/FindGTK2/CMakeLists.txt
+++ b/Tests/FindGTK2/CMakeLists.txt
@@ -9,6 +9,7 @@ if(GTK2_GTK_FOUND)
"${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtk"
${build_generator_args}
--build-target gtk-all-libs
+ --build-project gtk
--build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtk"
--force-new-ctest-process
--test-command ${CMAKE_CTEST_COMMAND} -V
@@ -22,6 +23,7 @@ if(GTK2_GTKMM_FOUND)
"${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtkmm"
${build_generator_args}
--build-target gtkmm-all-libs
+ --build-project gtkmm
--build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtkmm"
--force-new-ctest-process
--test-command ${CMAKE_CTEST_COMMAND} -V
@@ -310,6 +312,7 @@ if(TARGET GTK2::gtkmm)
"${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gtkmm"
${build_generator_args}
--build-target gtkmm-target
+ --build-project gtkmm
--build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gtkmm"
--force-new-ctest-process
--test-command ${CMAKE_CTEST_COMMAND} -V