Changes between Initial Version and Version 1 of Ticket #29548, comment 1
- Timestamp:
- Nov 26, 2013, 5:01:05 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29548, comment 1
initial v1 1 1 I do not exactly understand what you mean. The relevant part in the CMakeLists.txt file is: 2 3 {{{ 2 4 IF (CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") 3 5 # MacPorts … … 7 9 SET(INSTALL_OSX_BUNDLE_DIR ${CMAKE_INSTALL_PREFIX}/Applications CACHE DOCSTRING "Install directory Hugin and HuginStitchProject application bundles") 8 10 ENDIF(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") 11 }}} 9 12 10 13 This means that it looks to /opt/local by default on Apple, but if another CMAKE_INSTALL_PREFIX is specified it will take that one. I use it myself as well to define other locations for test builds (especially at /usr/local). I thought that macports set it's own CMAKE_INSTALL_PREFIX as part of the "PortGroup cmake 1.0" option. No matter whether macports is really in /opt or in some other location, the macports CMAKE_INSTALL_PREFIX will be picked up by the CMake file. Or doesn't macports set this cmake variable?