File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ sudo: false
9
9
before_install :
10
10
- sudo apt-get -qq update
11
11
- sudo apt-get install -y libcfitsio3-dev
12
-
12
+
13
13
install :
14
14
- mkdir build
15
15
- cd build
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ project(sparse2d)
25
25
26
26
# Locate CFITSIO using pkg-config or use command line arguments to configure
27
27
# CFITSIO
28
- if (CFITSIO_LIBRARIES STREQUAL "" OR CFITSIO_LIBRARY_DIRS STREQUAL "" OR
29
- CFITSIO_INCLUDE_DIRS STREQUAL "" )
28
+ if (CFITSIO_LIBRARIES STREQUAL "" OR NOT DEFINED CFITSIO_LIBRARIES OR
29
+ CFITSIO_LIBRARY_DIRS STREQUAL "" OR NOT DEFINED CFITSIO_LIBRARY_DIRS OR
30
+ CFITSIO_INCLUDE_DIRS STREQUAL "" OR NOT DEFINED CFITSIO_INCLUDE_DIRS)
30
31
pkg_check_modules(CFITSIO REQUIRED cfitsio)
31
32
else ()
32
33
message (STATUS "Use manually configured cfitsio" )
You can’t perform that action at this time.
0 commit comments