diff --git a/Tests/X11/CMakeLists.txt b/Tests/X11/CMakeLists.txt index 250a19060..b860f03ad 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 CACHE "" FORCE) - set(CPACK_BINARY_PACKAGEMAKER OFF "" CACHE FORCE ) + set(CPACK_BINARY_OSXX11 ON CACHE BOOL "" FORCE) + set(CPACK_BINARY_PACKAGEMAKER OFF BOOL CACHE "" FORCE ) set(CPACK_PACKAGE_NAME HelloWorldX11Package) set(CPACK_PACKAGE_EXECUTABLES HelloWorldX11 HelloWorldX11) ENDIF(APPLE)