Readd the TARGET_LINK_LIBRARIES command in Cmake files (to compile on macosx)
This commit is contained in:
parent
747022ab90
commit
4d9b6b465c
|
@ -24,6 +24,7 @@ IF(Boost_FOUND)
|
||||||
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
||||||
PREFIX ""
|
PREFIX ""
|
||||||
)
|
)
|
||||||
|
TARGET_LINK_LIBRARIES(pyAGDS agds ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
|
||||||
INSTALL(TARGETS pyAGDS DESTINATION ${PYTHON_SITE_PACKAGES})
|
INSTALL(TARGETS pyAGDS DESTINATION ${PYTHON_SITE_PACKAGES})
|
||||||
ENDIF(Boost_FOUND)
|
ENDIF(Boost_FOUND)
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@ IF(Boost_FOUND)
|
||||||
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
||||||
PREFIX ""
|
PREFIX ""
|
||||||
)
|
)
|
||||||
|
TARGET_LINK_LIBRARIES(pyCIF cif ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
|
||||||
INSTALL(TARGETS pyCIF DESTINATION ${PYTHON_SITE_PACKAGES})
|
INSTALL(TARGETS pyCIF DESTINATION ${PYTHON_SITE_PACKAGES})
|
||||||
ENDIF(Boost_FOUND)
|
ENDIF(Boost_FOUND)
|
||||||
|
|
||||||
|
|
|
@ -27,12 +27,13 @@
|
||||||
qt4_wrap_cpp ( mocCpps ${mocIncludes} )
|
qt4_wrap_cpp ( mocCpps ${mocIncludes} )
|
||||||
|
|
||||||
add_library ( configuration ${cpps} ${mocCpps} )
|
add_library ( configuration ${cpps} ${mocCpps} )
|
||||||
add_executable ( vlsisapd-conf-editor ${editorcpp} )
|
target_link_libraries ( configuration ${QT_LIBRARIES}
|
||||||
target_link_libraries ( vlsisapd-conf-editor configuration ${QT_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
${Boost_LIBRARIES}
|
${PYTHON_LIBRARIES}
|
||||||
${PYTHON_LIBRARIES}
|
${LIBXML2_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 configuration DESTINATION lib${LIB_SUFFIX} )
|
||||||
install ( TARGETS vlsisapd-conf-editor DESTINATION bin )
|
install ( TARGETS vlsisapd-conf-editor DESTINATION bin )
|
||||||
|
|
Loading…
Reference in New Issue