IAP GITLAB

Commit 3a6605af authored by Maximilian Reininghaus's avatar Maximilian Reininghaus 🖖

CMake OpenMP

parent 988c5529
......@@ -11,9 +11,10 @@ add_executable(hist_avg src/hist_avg.cpp src/cnpy.h src/cnpy.cpp)
find_package(libzip REQUIRED) # for my modified part of cnpy that can read compressed npz
find_package(ZLIB REQUIRED) # for cnpy
find_package(OpenMP)
#target_include_directories(hist_avg external/running-statistics PUBLIC include)
target_link_libraries(hist_avg rstat libzip::zip ZLIB::ZLIB)
target_link_libraries(hist_avg rstat libzip::zip ZLIB::ZLIB OpenMP::OpenMP_CXX)
include(GNUInstallDirs)
install(TARGETS hist_avg
......
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