diff --git a/src/MPI/CMakeLists.txt b/src/MPI/CMakeLists.txt index 07bc3bb..27b6fae 100644 --- a/src/MPI/CMakeLists.txt +++ b/src/MPI/CMakeLists.txt @@ -34,3 +34,6 @@ target_link_libraries(sagecal-mpi -ldirac -lradio ) + +install(TARGETS sagecal-mpi DESTINATION bin) + diff --git a/src/MS/CMakeLists.txt b/src/MS/CMakeLists.txt index 454ad1c..9dd3ce3 100644 --- a/src/MS/CMakeLists.txt +++ b/src/MS/CMakeLists.txt @@ -37,3 +37,5 @@ target_link_libraries(sagecal -ldirac -lradio ) + +install(TARGETS sagecal DESTINATION bin) diff --git a/src/buildsky/CMakeLists.txt b/src/buildsky/CMakeLists.txt index 6dce2cc..47ceb0f 100644 --- a/src/buildsky/CMakeLists.txt +++ b/src/buildsky/CMakeLists.txt @@ -20,3 +20,6 @@ target_link_libraries(buildsky -lcfitsio -lm ) + +install(TARGETS buildsky DESTINATION bin) + diff --git a/src/lib/Dirac/CMakeLists.txt b/src/lib/Dirac/CMakeLists.txt index ba648bd..ffa2f33 100644 --- a/src/lib/Dirac/CMakeLists.txt +++ b/src/lib/Dirac/CMakeLists.txt @@ -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) diff --git a/src/lib/Radio/CMakeLists.txt b/src/lib/Radio/CMakeLists.txt index 65a2418..3171939 100644 --- a/src/lib/Radio/CMakeLists.txt +++ b/src/lib/Radio/CMakeLists.txt @@ -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} diff --git a/src/restore/CMakeLists.txt b/src/restore/CMakeLists.txt index 0c4d305..85f5c95 100644 --- a/src/restore/CMakeLists.txt +++ b/src/restore/CMakeLists.txt @@ -23,3 +23,5 @@ target_link_libraries(restore -lcfitsio -lm ) + +install(TARGETS restore DESTINATION bin)