Fix MinGW OpenMP link error.

This commit is contained in:
Maciej Suminski 2014-04-09 20:55:34 -04:00 committed by Wayne Stambaugh
parent 4011953455
commit 5efdac01c1
1 changed files with 4 additions and 0 deletions

View File

@ -397,6 +397,10 @@ if( KICAD_SCRIPTING_MODULES )
)
endif()
if( ${OPENMP_FOUND} )
set_property( TARGET _pcbnew APPEND_STRING
PROPERTY LINK_FLAGS " ${OpenMP_CXX_FLAGS}" )
endif()
endif()