forked from github_mirror/framelesshelper
parent
b3cddd9d6d
commit
8572697639
|
@ -55,6 +55,10 @@ if(NOT BUILD_SHARED_LIBS)
|
||||||
endif()
|
endif()
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_compile_options(${PROJECT_NAME} PRIVATE /utf-8)
|
target_compile_options(${PROJECT_NAME} PRIVATE /utf-8)
|
||||||
|
if(NOT (CMAKE_BUILD_TYPE STREQUAL "Debug"))
|
||||||
|
target_compile_options(${PROJECT_NAME} PRIVATE /guard:cf)
|
||||||
|
target_link_options(${PROJECT_NAME} PRIVATE /GUARD:CF)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
QT_NO_CAST_FROM_ASCII
|
QT_NO_CAST_FROM_ASCII
|
||||||
|
|
Loading…
Reference in New Issue