Fix Clang build error when OpenMP is not found.
This commit is contained in:
parent
9b99ac2a53
commit
a01a7b911c
|
@ -536,8 +536,12 @@ if( USE_KIWAY_DLLS )
|
|||
OUTPUT_NAME pcbnew
|
||||
PREFIX ${KIFACE_PREFIX}
|
||||
SUFFIX ${KIFACE_SUFFIX}
|
||||
)
|
||||
if( ${OPENMP_FOUND} )
|
||||
set_target_properties( pcbnew_kiface PROPERTIES
|
||||
COMPILE_FLAGS ${OpenMP_CXX_FLAGS}
|
||||
)
|
||||
endif()
|
||||
target_link_libraries( pcbnew_kiface
|
||||
3d-viewer
|
||||
pcbcommon
|
||||
|
|
Loading…
Reference in New Issue