Fix CMake error when SM_COMPILE_FLAGS is empty (e.g. when compiling with cmake -DWITH_SSE2=off)
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ if(MSVC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties("${SM_EXE_NAME}" PROPERTIES
|
set_target_properties("${SM_EXE_NAME}" PROPERTIES
|
||||||
COMPILE_FLAGS ${SM_COMPILE_FLAGS}
|
COMPILE_FLAGS "${SM_COMPILE_FLAGS}"
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties("${SM_EXE_NAME}" PROPERTIES
|
set_target_properties("${SM_EXE_NAME}" PROPERTIES
|
||||||
|
|||||||
Reference in New Issue
Block a user