Permalink
Browse files

Fix not setting INSTALL_NAME_DIR

  • Loading branch information...
arsenm committed Jan 23, 2013
1 parent 32355a8 commit 457205058c70a89fc6134412b2836ee3118f7eac
Showing with 3 additions and 1 deletion.
  1. +2 −1 src/cmake/SociBackend.cmake
  2. +1 −0 src/core/CMakeLists.txt
@@ -142,7 +142,8 @@ macro(soci_backend NAME)
else()
set_target_properties(${THIS_BACKEND_TARGET}
PROPERTIES
SOVERSION ${${PROJECT_NAME}_SOVERSION})
SOVERSION ${${PROJECT_NAME}_SOVERSION}
INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib)
endif()
set_target_properties(${THIS_BACKEND_TARGET}
View
@@ -94,6 +94,7 @@ else()
PROPERTIES
VERSION ${SOCI_VERSION}
SOVERSION ${SOCI_SOVERSION}
INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib
CLEAN_DIRECT_OUTPUT 1)
endif()
add_definitions(-DSOCI_LIB_PREFIX="${CMAKE_SHARED_LIBRARY_PREFIX}soci_"

0 comments on commit 4572050

Please sign in to comment.