diff --git a/src/MPI/CMakeLists.txt b/src/MPI/CMakeLists.txt index c2e98dd..2b85a7b 100644 --- a/src/MPI/CMakeLists.txt +++ b/src/MPI/CMakeLists.txt @@ -29,7 +29,6 @@ target_link_libraries(sagecal-mpi -lopenblas -lgfortran -lpthread - -lcfitsio -lm -ldirac -lradio diff --git a/src/MS/CMakeLists.txt b/src/MS/CMakeLists.txt index 5319b7d..8b32689 100644 --- a/src/MS/CMakeLists.txt +++ b/src/MS/CMakeLists.txt @@ -32,7 +32,6 @@ target_link_libraries(sagecal -lopenblas -lgfortran -lpthread - -lcfitsio -lm -ldirac -lradio diff --git a/src/buildsky/CMakeLists.txt b/src/buildsky/CMakeLists.txt index 634f623..b42612d 100644 --- a/src/buildsky/CMakeLists.txt +++ b/src/buildsky/CMakeLists.txt @@ -1,5 +1,5 @@ find_package(WcsLib REQUIRED) -include_directories(${WCSLIB_INCLUDE_DIR}/wcslib) +include_directories(${WCSLIB_INCLUDE_DIRS}/wcslib) include_directories(./) link_directories(${LIBRARY_OUTPUT_PATH}) @@ -17,7 +17,6 @@ target_link_libraries(buildsky -lopenblas -lgfortran -lpthread - -lcfitsio -lm ) diff --git a/src/restore/CMakeLists.txt b/src/restore/CMakeLists.txt index f0971b3..46e44d3 100644 --- a/src/restore/CMakeLists.txt +++ b/src/restore/CMakeLists.txt @@ -1,6 +1,6 @@ find_package(WcsLib REQUIRED) find_package(FFTW REQUIRED) -include_directories(${WCSLIB_INCLUDE_DIR}/wcslib) +include_directories(${WCSLIB_INCLUDE_DIRS}/wcslib) include_directories(./) link_directories(${LIBRARY_OUTPUT_PATH}) @@ -20,7 +20,6 @@ target_link_libraries(restore -lopenblas -lgfortran -lpthread - -lcfitsio -lm )