mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[cmake] Add SPINE_SET_COMPILER_FLAGS (#2698)
* Add SPINE_SET_COMPILER_FLAGS * remove newline
This commit is contained in:
parent
c05170d76a
commit
39c9caff0a
@ -1,4 +1,9 @@
|
||||
option(SPINE_SANITIZE "Build with sanitization" OFF)
|
||||
option(SPINE_SET_COMPILER_FLAGS "Set compiler flags" ON)
|
||||
|
||||
if (NOT SPINE_SET_COMPILER_FLAGS)
|
||||
return();
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
message("MSCV detected")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user