From: <hug...@li...> - 2010-07-29 18:04:06
|
details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgrepo/h/hu/hugin/hugin/rev/27b53a38eb7e changeset: 4171:27b53a38eb7e user: harryvanderwolf <hv...@gm...> date: Thu Jul 29 19:51:17 2010 +0200 description: [OSX] neccessary adjustment for cmake compilation diffstat: CMakeLists.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r 31fdaa8ffc2c -r 27b53a38eb7e CMakeLists.txt --- a/CMakeLists.txt Wed Jul 28 17:23:49 2010 +0200 +++ b/CMakeLists.txt Thu Jul 29 19:51:17 2010 +0200 @@ -424,6 +424,7 @@ SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -flat_namespace -undefined suppress" ) SET (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -flat_namespace -undefined suppress" ) SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -flat_namespace -undefined suppress" ) + SET (CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" ) IF (${CMAKE_BUILD_TYPE} STREQUAL "Release") SET (CMAKE_C_FLAGS_RELEASE:STRING " $CMAKE_C_FLAGS_RELEASE ") SET (CMAKE_CXX_FLAGS_RELEASE:STRING " $CMAKE_CXX_FLAGS_RELEASE ") |