Add explicit dependency to sharp
This commit is contained in:
parent
54d23331f3
commit
222a539399
2 changed files with 2 additions and 1 deletions
|
@ -54,6 +54,7 @@ if (SHARP_LIBRARY AND SHARP_INCLUDE_PATH AND EIGEN3_FOUND)
|
|||
add_executable(test_healpix_calls test_healpix_calls.cpp)
|
||||
target_link_libraries(test_healpix_calls ${tolink} ${SHARP_LIBRARIES})
|
||||
set_target_properties(test_healpix_calls PROPERTIES COMPILE_FLAGS ${OpenMP_CXX_FLAGS} LINK_FLAGS ${OpenMP_CXX_FLAGS})
|
||||
add_dependencies(test_healpix_calls sharp)
|
||||
endif (SHARP_LIBRARY AND SHARP_INCLUDE_PATH AND EIGEN3_FOUND)
|
||||
|
||||
add_executable(test_cosmopower test_cosmopower.cpp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue