Skip to content
Snippets Groups Projects
Commit 09bd3a40 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MGTL] Link with openmp; WIN32 use /openmp::llvm

parent 08dca10c
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,13 @@ get_source_files(SOURCES)
ogs_add_library(MeshGeoToolsLib ${SOURCES})
target_link_libraries(
MeshGeoToolsLib PUBLIC GeoLib MathLib PRIVATE BaseLib MeshToolsLib
MeshGeoToolsLib PUBLIC GeoLib MathLib
PRIVATE BaseLib MeshToolsLib
$<$<TARGET_EXISTS:OpenMP::OpenMP_CXX>:OpenMP::OpenMP_CXX>
)
if(WIN32)
target_compile_options(MeshGeoToolsLib PUBLIC /openmp::llvm)
endif()
target_precompile_headers(MeshGeoToolsLib PRIVATE [["BaseLib/Error.h"]]
[["BaseLib/ConfigTree.h"]] [["BaseLib/Logging.h"]] [["MeshLib/Mesh.h"]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment