File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ foreach (_variableName ${_variableNames})
384384endforeach ()
385385
386386# add target based linkages to ALLLIBS variable
387- list (APPEND ALLLIBS pantor::inja sensorutilities protobuf::libprotobuf embree GDAL::GDAL)
387+ list (APPEND ALLLIBS pantor::inja sensorutilities protobuf::libprotobuf embree GDAL::GDAL CSPICE::cspice )
388388
389389# Sometimes we add the same lib more than once (especially with LIBDIRS)
390390list (REMOVE_DUPLICATES ALLLIBDIRS)
@@ -396,7 +396,7 @@ list(REMOVE_DUPLICATES ALLINCDIRS)
396396
397397
398398get_target_property (CSPICE_INCLUDE_DIRS CSPICE::cspice INTERFACE_INCLUDE_DIRECTORIES )
399- link_libraries (CSPICE::cspice )
399+ list ( APPEND ALLLIBDIRS ${CSPICE_INCLUDE_DIRS} )
400400
401401# Start setting up the build
402402# Add extension to find fortran until .so symlink can be added to /usr/lib64
@@ -406,10 +406,8 @@ list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES .so.3 .so.6 .so.5)
406406include_directories (SYSTEM ${ALLINCDIRS} )
407407link_directories (${ALLLIBDIRS} )
408408
409- include_directories (
410- ${CMAKE_BINARY_DIR} /inc
411- ${CSPICE_INCLUDE_DIRS}
412- )
409+ include_directories (${CMAKE_BINARY_DIR} /inc)
410+
413411set (CORE_LIB_NAME isis)
414412message (STATUS "CORE LIB: ${CORE_LIB_NAME} " )
415413
You can’t perform that action at this time.
0 commit comments