summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-04-21 21:12:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-04-21 21:12:37 (GMT)
commit572cf0212f5d00382b318430280a9806be4bdae8 (patch)
tree581e96cd462ec8de613d49e94787d6ee4ce8bf11
parentf1149df8cf6a8831c48e3bd573b25ae021f2cbe5 (diff)
downloadCMake-572cf0212f5d00382b318430280a9806be4bdae8.zip
CMake-572cf0212f5d00382b318430280a9806be4bdae8.tar.gz
CMake-572cf0212f5d00382b318430280a9806be4bdae8.tar.bz2
ENH: make sure tests for cpack are run correctly
-rw-r--r--Tests/X11/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/X11/CMakeLists.txt b/Tests/X11/CMakeLists.txt
index cc24464..c88239a 100644
--- a/Tests/X11/CMakeLists.txt
+++ b/Tests/X11/CMakeLists.txt
@@ -29,8 +29,8 @@ IF(X11_FOUND)
TARGET_LINK_LIBRARIES(HelloWorldX11 ${X11_LIBRARIES})
install(TARGETS HelloWorldX11 DESTINATION bin)
- set(CPACK_BINARY_OSXX11 "ON")
- set(CPACK_BINARY_PACKAGEMAKER "OFF")
+ set(CPACK_BINARY_OSXX11 ON CACHE "" FORCE)
+ set(CPACK_BINARY_PACKAGEMAKER OFF CACHE FORCE )
set(CPACK_PACKAGE_NAME HelloWorldX11Package)
set(CPACK_PACKAGE_EXECUTABLES HelloWorldX11 HelloWorldX11)
ENDIF(APPLE)