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 )
OUTPUT_NAME pcbnew
PREFIX ${KIFACE_PREFIX}
SUFFIX ${KIFACE_SUFFIX}
COMPILE_FLAGS ${OpenMP_CXX_FLAGS}
)
if( ${OPENMP_FOUND} )
set_target_properties( pcbnew_kiface PROPERTIES
COMPILE_FLAGS ${OpenMP_CXX_FLAGS}
)
endif()
target_link_libraries( pcbnew_kiface
3d-viewer
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