~ubuntu-branches/ubuntu/trusty/soprano/trusty

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-05-06 09:45:05 UTC
  • mfrom: (76.1.2 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130506094505-l2t6d8589zbkniwe
Tags: 2.9.1+dfsg1-0ubuntu3
Update .symbols file for armhf

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
##################  Soprano version  ################################
15
15
set(CMAKE_SOPRANO_VERSION_MAJOR 2)
16
16
set(CMAKE_SOPRANO_VERSION_MINOR 9)
17
 
set(CMAKE_SOPRANO_VERSION_RELEASE 0)
 
17
set(CMAKE_SOPRANO_VERSION_RELEASE 1)
18
18
set(CMAKE_SOPRANO_VERSION_STRING "${CMAKE_SOPRANO_VERSION_MAJOR}.${CMAKE_SOPRANO_VERSION_MINOR}.${CMAKE_SOPRANO_VERSION_RELEASE}")
19
19
 
20
20
 
144
144
set(PKGCONFIG_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/" CACHE STRING "Base directory for pkgconfig files")
145
145
 
146
146
 
 
147
# Set up RPATH handling, so the libs are found if they are installed to a non-standard location.
 
148
# By default cmake builds the targets with full RPATH to everything in the build directory,
 
149
# but then removes the RPATH when installing.
 
150
# These two options below make it set the RPATH of the installed targets to all
 
151
# RPATH directories outside the current CMAKE_BINARY_DIR and also the library
 
152
# install directory. Alex
 
153
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${LIB_DESTINATION}" _isSystemPlatformLibDir)
 
154
list(FIND CMAKE_C_IMPLICIT_LINK_DIRECTORIES "${LIB_DESTINATION}" _isSystemCLibDir)
 
155
list(FIND CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "${LIB_DESTINATION}" _isSystemCxxLibDir)
 
156
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH  TRUE)
 
157
if("${_isSystemPlatformLibDir}" STREQUAL "-1" AND "${_isSystemCLibDir}" STREQUAL "-1" AND "${_isSystemCxxLibDir}" STREQUAL "-1")
 
158
set(CMAKE_INSTALL_RPATH                ${LIB_DESTINATION} )
 
159
endif("${_isSystemPlatformLibDir}" STREQUAL "-1" AND "${_isSystemCLibDir}" STREQUAL "-1" AND "${_isSystemCxxLibDir}" STREQUAL "-1")
 
160
 
147
161
if(APPLE)
148
162
   set(CMAKE_INSTALL_NAME_DIR ${LIB_DESTINATION})
149
163
endif(APPLE)