Skip to content
Snippets Groups Projects
Commit d34bae15 authored by thinkski's avatar thinkski Committed by Andy Green
Browse files

trac 27: use fullpath in OSX dynamic libs


Signed-off-by: default avatarthinkski <chiszp@gmail.com>
parent dd93a0c4
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,10 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
# Put absolute path of dynamic libraries into the object code. Some
# architectures, notably Mac OS X, need this.
SET(CMAKE_INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
# So we can include the CMake generated config file only when
# building with CMAKE.
add_definitions(-DCMAKE_BUILD)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment