install files according to #55
This commit is contained in:
parent
deab251c00
commit
2130398fea
|
@ -34,3 +34,6 @@ target_link_libraries(sagecal-mpi
|
|||
-ldirac
|
||||
-lradio
|
||||
)
|
||||
|
||||
install(TARGETS sagecal-mpi DESTINATION bin)
|
||||
|
||||
|
|
|
@ -37,3 +37,5 @@ target_link_libraries(sagecal
|
|||
-ldirac
|
||||
-lradio
|
||||
)
|
||||
|
||||
install(TARGETS sagecal DESTINATION bin)
|
||||
|
|
|
@ -20,3 +20,6 @@ target_link_libraries(buildsky
|
|||
-lcfitsio
|
||||
-lm
|
||||
)
|
||||
|
||||
install(TARGETS buildsky DESTINATION bin)
|
||||
|
||||
|
|
|
@ -62,6 +62,10 @@ 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)
|
||||
## disable install of lib* files
|
||||
##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)
|
||||
## disable install of lib* files
|
||||
##install(TARGETS ${objects} radio DESTINATION lib)
|
||||
|
||||
target_link_libraries(radio
|
||||
${CASACORE_LIBRARIES}
|
||||
|
|
|
@ -23,3 +23,5 @@ target_link_libraries(restore
|
|||
-lcfitsio
|
||||
-lm
|
||||
)
|
||||
|
||||
install(TARGETS restore DESTINATION bin)
|
||||
|
|
Loading…
Reference in New Issue