summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageModeMakefileTest/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-15 22:08:43 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-15 22:08:43 (GMT)
commitaecfc1fd1045fef4af58a16782c2272dd5825aa5 (patch)
treee6ae90e842d19861681a828126c95f19777e3ba1 /Tests/FindPackageModeMakefileTest/CMakeLists.txt
parent6bb4ca3802d2fc83f1072adfde6f1075aa2992c4 (diff)
downloadCMake-aecfc1fd1045fef4af58a16782c2272dd5825aa5.zip
CMake-aecfc1fd1045fef4af58a16782c2272dd5825aa5.tar.gz
CMake-aecfc1fd1045fef4af58a16782c2272dd5825aa5.tar.bz2
Fix test on OpenBSD with BSD make
BSD make doesn't seem to support -C, so do not use it, According to the documentation the working directory is set to CMAKE_CURRENT_BINARY_DIR anyway, so it should work just the same. Alex
Diffstat (limited to 'Tests/FindPackageModeMakefileTest/CMakeLists.txt')
-rw-r--r--Tests/FindPackageModeMakefileTest/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPackageModeMakefileTest/CMakeLists.txt b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
index f0faab9..d2c6be9 100644
--- a/Tests/FindPackageModeMakefileTest/CMakeLists.txt
+++ b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
@@ -15,7 +15,7 @@ if("${CMAKE_CXX_COMPILER_ID}" MATCHES GNU
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Makefile.in ${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp ${CMAKE_CURRENT_BINARY_DIR}/main.cpp COPYONLY)
- add_test(FindPackageModeMakefileTest ${CMAKE_MAKE_PROGRAM} -f ${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile -C ${CMAKE_CURRENT_BINARY_DIR} )
+ add_test(FindPackageModeMakefileTest ${CMAKE_MAKE_PROGRAM} -f ${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile )
endif()