From 572cf0212f5d00382b318430280a9806be4bdae8 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 21 Apr 2009 17:12:37 -0400 Subject: [PATCH] ENH: make sure tests for cpack are run correctly --- Tests/X11/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/X11/CMakeLists.txt b/Tests/X11/CMakeLists.txt index cc24464ce..c88239afc 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)