Commit e3525d78 authored by jclamber's avatar jclamber
Browse files

update to link ccfits, needs more work when ccfits does not exist

git-svn-id: http://svn.oamp.fr/repos/uns_projects/trunk@116 f264a43e-d52d-4b82-913b-c2bd5215a18a
parent ef67a71b
......@@ -105,6 +105,7 @@ MESSAGE( STATUS "EXECUTABLE_OUTPUT_PATH: " ${EXECUTABLE_OUTPUT_PATH} )
include_directories (${PROJECT_SOURCE_DIR}/src )
include_directories (${PROJECT_SOURCE_DIR}/lib/utils ${PROJECT_SOURCE_DIR}/lib/utils/nemodep )
include_directories (${PROJECT_SOURCE_DIR}/lib/projects ${PROJECT_SOURCE_DIR}/lib/projects/nemodep)
include_directories (/usr/include/CCfits)
if ( FALCON_INSTALLED )
include_directories (${DEHNEN}/falcON/utils/inc ${DEHNEN}/falcON/inc)
endif()
......@@ -166,9 +167,9 @@ FOREACH(exe_cpp ${execpp_sources})
#
if ( NEMO_INSTALLED )
target_link_libraries (${exe} JCLutils JCLprojects cpgplot pgplot.a ${FC_GFORT_LIB} ${FC_G77_LIB} X11 unsio WDutils falcON nemo ${SQLITE3_LIB} gomp ${LIBBOOST} pthread dl)
target_link_libraries (${exe} JCLutils JCLprojects cpgplot pgplot.a ${FC_GFORT_LIB} ${FC_G77_LIB} CCfits X11 unsio WDutils falcON nemo ${SQLITE3_LIB} gomp ${LIBBOOST} pthread dl)
else ()
target_link_libraries (${exe} JCLutils JCLprojects ${FC_GFORT_LIB} ${FC_G77_LIB} unsio nemo ${SQLITE3_LIB} gomp ${LIBBOOST} dl)
target_link_libraries (${exe} JCLutils JCLprojects ${FC_GFORT_LIB} ${FC_G77_LIB} CCfits unsio nemo ${SQLITE3_LIB} gomp ${LIBBOOST} dl)
endif ()
INSTALL(TARGETS ${exe} RUNTIME DESTINATION bin)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment