aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAiden Woodruff <woodra@rpi.edu>2025-10-23 14:30:38 -0400
committerAiden Woodruff <woodra@rpi.edu>2025-10-23 14:30:38 -0400
commit95e330a784ffa85fa97ffcd5554f388af57c50b2 (patch)
tree6c04de09ca9fccee8b186aee6d005c43d229ce65
parentb8dcccdae593d36d4a45b26049d6049eb3007181 (diff)
downloadtipping-points-95e330a784ffa85fa97ffcd5554f388af57c50b2.tar.gz
tipping-points-95e330a784ffa85fa97ffcd5554f388af57c50b2.tar.bz2
tipping-points-95e330a784ffa85fa97ffcd5554f388af57c50b2.zip
add SNAP's OpenMP requirement to GetSNAP
Signed-off-by: Aiden Woodruff <woodra@rpi.edu>
-rw-r--r--cmake/GetSNAP.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/GetSNAP.cmake b/cmake/GetSNAP.cmake
index 4bcef96..52c7b2d 100644
--- a/cmake/GetSNAP.cmake
+++ b/cmake/GetSNAP.cmake
@@ -1,3 +1,5 @@
1find_package(OpenMP REQUIRED)
2
1include(ExternalProject) 3include(ExternalProject)
2ExternalProject_Add( 4ExternalProject_Add(
3 SNAP 5 SNAP
@@ -24,3 +26,5 @@ target_include_directories(SNAP::SNAP
24 "${SNAP_SOURCE_DIR}/snap-core" 26 "${SNAP_SOURCE_DIR}/snap-core"
25 "${SNAP_SOURCE_DIR}/glib-core" 27 "${SNAP_SOURCE_DIR}/glib-core"
26) 28)
29
30target_link_libraries(SNAP::SNAP INTERFACE OpenMP::OpenMP_CXX)