Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
This commit is contained in:
Yuhang Zhao 2023-04-04 16:46:29 +08:00
parent eba599e0c5
commit f2e5ed4e78
1 changed files with 2 additions and 2 deletions

View File

@ -399,9 +399,9 @@ function(setup_compile_params)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
target_link_options(${__target} PRIVATE /HIGHENTROPYVA)
endif()
if(MSVC_VERSION GREATER_EQUAL 1910) # Visual Studio 2017 version 15.0
#[[if(MSVC_VERSION GREATER_EQUAL 1910) # Visual Studio 2017 version 15.0
target_link_options(${__target} PRIVATE /DEPENDENTLOADFLAG:0x800)
endif()
endif()]]
if(MSVC_VERSION GREATER_EQUAL 1915) # Visual Studio 2017 version 15.8
target_compile_options(${__target} PRIVATE $<$<CONFIG:Debug,RelWithDebInfo>:/JMC>)
endif()