Commit a01a7b91 authored by Maciej Suminski's avatar Maciej Suminski Committed by Wayne Stambaugh

Fix Clang build error when OpenMP is not found.

parent 9b99ac2a
...@@ -536,8 +536,12 @@ if( USE_KIWAY_DLLS ) ...@@ -536,8 +536,12 @@ if( USE_KIWAY_DLLS )
OUTPUT_NAME pcbnew OUTPUT_NAME pcbnew
PREFIX ${KIFACE_PREFIX} PREFIX ${KIFACE_PREFIX}
SUFFIX ${KIFACE_SUFFIX} SUFFIX ${KIFACE_SUFFIX}
)
if( ${OPENMP_FOUND} )
set_target_properties( pcbnew_kiface PROPERTIES
COMPILE_FLAGS ${OpenMP_CXX_FLAGS} COMPILE_FLAGS ${OpenMP_CXX_FLAGS}
) )
endif()
target_link_libraries( pcbnew_kiface target_link_libraries( pcbnew_kiface
3d-viewer 3d-viewer
pcbcommon pcbcommon
......
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