CMakeCPackOptions.cmake.in 381 B

123456789101112
  1. # Author: Kang Lin <[email protected]>
  2. # This file is configured at cmake time, and loaded at cpack time.
  3. # To pass variables to cpack from cmake, they must be configured in this file.
  4. if("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
  5. if(CMAKE_PACKAGE_QTGUI)
  6. set(CPACK_PACKAGE_DEFAULT_LOCATION "/Applications")
  7. else()
  8. set(CPACK_PACKAGE_DEFAULT_LOCATION "/usr")
  9. endif()
  10. endif()