mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
parent
be2f050903
commit
ffa6f8752b
@ -470,7 +470,7 @@ foreach(LANG IN LISTS OpenMP_FINDLIST)
|
||||
if(OpenMP_${LANG}_FLAGS)
|
||||
separate_arguments(_OpenMP_${LANG}_OPTIONS NATIVE_COMMAND "${OpenMP_${LANG}_FLAGS}")
|
||||
set_property(TARGET OpenMP::OpenMP_${LANG} PROPERTY
|
||||
INTERFACE_COMPILE_OPTIONS "${_OpenMP_${LANG}_OPTIONS}")
|
||||
INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:${LANG}>:${_OpenMP_${LANG}_OPTIONS}>")
|
||||
unset(_OpenMP_${LANG}_OPTIONS)
|
||||
endif()
|
||||
if(OpenMP_${LANG}_LIBRARIES)
|
||||
|
Loading…
Reference in New Issue
Block a user