Merge pull request #55 from gijzelaerr/install
add missing install and SO version
This commit is contained in:
commit
97a6e8387f
|
@ -36,3 +36,7 @@ target_link_libraries(sagecal
|
|||
-ldirac
|
||||
-lradio
|
||||
)
|
||||
|
||||
|
||||
install(TARGETS sagecal DESTINATION bin)
|
||||
|
||||
|
|
|
@ -62,6 +62,11 @@ message (STATUS "lib/Dirac objects --> ${objects}")
|
|||
include_directories(./)
|
||||
foreach (object ${objects})
|
||||
add_library(${object} SHARED ${object}.c)
|
||||
SET_TARGET_PROPERTIES(${object} PROPERTIES SOVERSION 0.0)
|
||||
endforeach (object)
|
||||
|
||||
add_library(dirac ${objects} Dirac.h)
|
||||
SET_TARGET_PROPERTIES(dirac PROPERTIES SOVERSION 0.0)
|
||||
|
||||
install(TARGETS ${objects} dirac DESTINATION lib)
|
||||
|
||||
|
|
|
@ -44,9 +44,13 @@ include_directories(${GLIB_PKG_INCLUDE_DIRS})
|
|||
|
||||
foreach (object ${objects})
|
||||
add_library(${object} ${object}.c)
|
||||
SET_TARGET_PROPERTIES(${object} PROPERTIES SOVERSION 0.0)
|
||||
endforeach (object)
|
||||
|
||||
add_library(radio ${objects} Radio.h)
|
||||
SET_TARGET_PROPERTIES(radio PROPERTIES SOVERSION 0.0)
|
||||
|
||||
install(TARGETS ${objects} radio DESTINATION lib)
|
||||
|
||||
target_link_libraries(radio
|
||||
${CASACORE_LIBRARIES}
|
||||
|
@ -55,3 +59,4 @@ ${LAPACK_LIBRARIES}
|
|||
${WCSLIB_LIBRARIES}
|
||||
${GLIB_PKG_LIBRARIES}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue