Skip to content
Snippets Groups Projects
Commit ccf66fd3 authored by David Bommes's avatar David Bommes
Browse files

add missing OpenMP optional depency

parent 5cfcb19b
No related branches found
No related tags found
No related merge requests found
include (VCICommon)
include(type)
vci_openmp ()
find_package(OpenMP)
if (OPENMP_FOUND)
target_include_directories(${TYPENAME} PUBLIC ${OpenMP_CXX_INCLUDE_DIR})
target_link_libraries (${TYPENAME} ${OpenMP_libomp_LIBRARY})
endif()
include (VCICommon)
include(type)
vci_openmp ()
find_package(OpenMP)
if (OPENMP_FOUND)
target_include_directories(${TYPENAME} PUBLIC ${OpenMP_CXX_INCLUDE_DIR})
target_link_libraries (${TYPENAME} ${OpenMP_libomp_LIBRARY})
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment