Skip to content

Commit

Permalink
changed: use SPR_FOUND
Browse files Browse the repository at this point in the history
when building IFEM separately the SPR_LIBRARIES variable is not populated
  • Loading branch information
akva2 authored and kmokstad committed Dec 19, 2024
1 parent 71b6d6b commit 4b409ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Linear/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ if(LRSpline_FOUND OR LRSPLINE_FOUND)
file(GLOB LRE_HDF5FILES RELATIVE ${PROJECT_SOURCE_DIR}/Test
${PROJECT_SOURCE_DIR}/Test/LR/*.hreg)
endif()
if(SPR_LIBRARIES)
if(SPR_FOUND)
file(GLOB SPR_TESTFILES RELATIVE ${PROJECT_SOURCE_DIR}/Test
${PROJECT_SOURCE_DIR}/Test/SPR/*.reg)
endif()
Expand Down

0 comments on commit 4b409ec

Please sign in to comment.