mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
only look for OpenMP on UNIX
This commit is contained in:
parent
134704412a
commit
1058a61ddd
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ find_package(VHACD REQUIRED)
|
|||
target_include_directories(${TARGET_NAME} PUBLIC ${VHACD_INCLUDE_DIRS})
|
||||
target_link_libraries(${TARGET_NAME} ${VHACD_LIBRARIES})
|
||||
|
||||
if (NOT WIN32)
|
||||
if (UNIX AND NOT APPLE)
|
||||
include(FindOpenMP)
|
||||
if(OPENMP_FOUND)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
||||
|
|
Loading…
Reference in a new issue