In order to compile on sl5 64 bits : we need to suppress libboost_python from Boost_LIBRARIES !

(I don't get why it perfectly works on sl5 32 bits and mac osx)
This commit is contained in:
The Coriolis Project 2011-04-11 14:24:37 +00:00
parent a46c121d75
commit 9996064f13
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,7 @@
# to work on sl5 64 bits : need to suppress boost_python in Boost_LIBRARIES
set(Boost_LIBRARIES "")
setup_boost(program_options filesystem regex)
include_directories ( ${VLSISAPD_SOURCE_DIR}/src/bookshelf/src
${Boost_INCLUDE_DIRS}
@ -25,7 +28,7 @@
target_link_libraries ( bookshelf ${Boost_LIBRARIES} )
set_target_properties ( bookshelf PROPERTIES VERSION 1.0 SOVERSION 1 )
add_executable ( bookshelf-tk ${testcpps} )
target_link_libraries ( bookshelf-tk bookshelf ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} )
target_link_libraries ( bookshelf-tk bookshelf ${Boost_LIBRARIES} )
install ( TARGETS bookshelf DESTINATION lib${LIB_SUFFIX} )
install ( TARGETS bookshelf-tk DESTINATION bin )

View File

@ -1,4 +1,7 @@
# to work on sl5 64 bits : need to suppress boost_python in Boost_LIBRARIES
set(Boost_LIBRARIES "")
setup_boost(program_options filesystem regex)
include ( ${QT_USE_FILE} )
include_directories ( ${VLSISAPD_SOURCE_DIR}/src/configuration/src