Changes between Initial Version and Version 1 of Ticket #29548, comment 1


Ignore:
Timestamp:
Nov 26, 2013, 5:01:05 AM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29548, comment 1

    initial v1  
    11I do not exactly understand what you mean. The relevant part in the CMakeLists.txt file is:
     2
     3{{{
    24    IF (CMAKE_INSTALL_PREFIX STREQUAL "/opt/local")
    35      # MacPorts
     
    79      SET(INSTALL_OSX_BUNDLE_DIR ${CMAKE_INSTALL_PREFIX}/Applications CACHE DOCSTRING "Install directory Hugin and HuginStitchProject application bundles")
    810    ENDIF(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local")
     11}}}
    912
    1013This 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?