Readd the TARGET_LINK_LIBRARIES command in Cmake files (to compile on macosx)

This commit is contained in:
Damien Dupuis 2010-07-07 13:49:20 +00:00
parent 747022ab90
commit 4d9b6b465c
3 changed files with 8 additions and 5 deletions

View File

@ -24,6 +24,7 @@ IF(Boost_FOUND)
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
PREFIX ""
)
TARGET_LINK_LIBRARIES(pyAGDS agds ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
INSTALL(TARGETS pyAGDS DESTINATION ${PYTHON_SITE_PACKAGES})
ENDIF(Boost_FOUND)

View File

@ -21,6 +21,7 @@ IF(Boost_FOUND)
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
PREFIX ""
)
TARGET_LINK_LIBRARIES(pyCIF cif ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
INSTALL(TARGETS pyCIF DESTINATION ${PYTHON_SITE_PACKAGES})
ENDIF(Boost_FOUND)

View File

@ -27,12 +27,13 @@
qt4_wrap_cpp ( mocCpps ${mocIncludes} )
add_library ( configuration ${cpps} ${mocCpps} )
add_executable ( vlsisapd-conf-editor ${editorcpp} )
target_link_libraries ( vlsisapd-conf-editor configuration ${QT_LIBRARIES}
${Boost_LIBRARIES}
${PYTHON_LIBRARIES}
${LIBXML2_LIBRARIES}
target_link_libraries ( configuration ${QT_LIBRARIES}
${Boost_LIBRARIES}
${PYTHON_LIBRARIES}
${LIBXML2_LIBRARIES}
)
add_executable ( vlsisapd-conf-editor ${editorcpp} )
target_link_libraries ( vlsisapd-conf-editor configuration )
install ( TARGETS configuration DESTINATION lib${LIB_SUFFIX} )
install ( TARGETS vlsisapd-conf-editor DESTINATION bin )