BUILD(cmake): Fix use of generator expression (follow-up)

This usage of a generator expression has been overlooked in #4533.
This commit is contained in:
Robert 2020-10-16 15:58:13 +02:00
parent 5cf9dde08b
commit eddd5332dc

View File

@ -14,12 +14,10 @@ endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
if(MSVC)
if($<CONFIG:Release>)
add_compile_options(
"/Ox"
"/fp:fast"
)
endif()
add_compile_options(
"$<$<CONFIG:Release>:/Ox>"
"$<$<CONFIG:Release>:/fp:fast>"
)
if(32_BIT)
# SSE2 code is generated by default, unless an explict arch is set.