mirror of https://github.com/axmolengine/axmol.git
Always enable string pooling for msvc
This commit is contained in:
parent
fef04c4830
commit
0f4b92c1e4
|
@ -83,6 +83,10 @@ set(CMAKE_CXX_STANDARD ${CXX_STD})
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
if (MSVC)
|
||||
add_compile_options(/GF)
|
||||
endif()
|
||||
|
||||
set(CMAKE_DEBUG_POSTFIX "" CACHE STRING "Library postfix for debug builds. Normally left blank." FORCE)
|
||||
|
||||
# check visual studio version
|
||||
|
|
Loading…
Reference in New Issue