From 7bb290063acb67d79981cd908536e930f03cff4e Mon Sep 17 00:00:00 2001 From: Faruk D Date: Mon, 1 Oct 2018 19:56:47 +0200 Subject: [PATCH] fix cfitsio problems. cmake works on das5 now! --- src/MPI/CMakeLists.txt | 1 - src/MS/CMakeLists.txt | 1 - src/buildsky/CMakeLists.txt | 3 +-- src/restore/CMakeLists.txt | 3 +-- 4 files changed, 2 insertions(+), 6 deletions(-) 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 )