Skip to content

Commit

Permalink
Merge pull request #808 from mmuetzel/spex
Browse files Browse the repository at this point in the history
SPEX: Fix building demo without OpenMP.
  • Loading branch information
DrTimothyAldenDavis authored May 23, 2024
2 parents 4947ad7 + 03da1d8 commit cd185a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SPEX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ if ( SUITESPARSE_DEMOS )
target_link_libraries ( spex_demo_threaded PUBLIC SPEX_static SuiteSparse::AMD_static SuiteSparse::COLAMD_static )
endif ( )

if ( SPEX_USE_OPENMP )
if ( SPEX_HAS_OPENMP )
if ( BUILD_SHARED_LIBS )
target_link_libraries ( spex_demo_threaded PUBLIC OpenMP::OpenMP_C )
endif ( )
Expand Down

0 comments on commit cd185a8

Please sign in to comment.