Skip to content

Commit

Permalink
@rpath install the libs on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Aug 3, 2014
1 parent 2b08229 commit 44b76cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -244,11 +244,11 @@ if (APPLE)
set_target_properties(
${LIBLAS_C_LIB_NAME}
PROPERTIES
INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" BUILD_WITH_INSTALL_RPATH OFF)
INSTALL_NAME_DIR "@rpath" BUILD_WITH_INSTALL_RPATH ON)
set_target_properties(
${LIBLAS_LIB_NAME}
PROPERTIES
INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" BUILD_WITH_INSTALL_RPATH OFF)
INSTALL_NAME_DIR "@rpath" BUILD_WITH_INSTALL_RPATH ON)
endif()

###############################################################################
Expand Down

0 comments on commit 44b76cd

Please sign in to comment.