MISC3: Fed up with warning 4996 spam on MSVC, silence it for good in CMake
This commit is contained in:
parent
c0dafb3197
commit
e173eec3ef
|
@ -652,7 +652,10 @@ IF (MSVC)
|
|||
set_target_properties(CubicSDR PROPERTIES COMPILE_DEFINITIONS_MINSIZEREL "_WINDOWS")
|
||||
set(CMAKE_CREATE_WIN32_EXE "/SUBSYSTEM:WINDOWS /ENTRY:\"mainCRTStartup\"")
|
||||
set_target_properties (CubicSDR PROPERTIES OUTPUT_NAME "${CUBICSDR_INSTALL_NAME}")
|
||||
|
||||
|
||||
ADD_DEFINITIONS(
|
||||
/wd\"4996\"
|
||||
)
|
||||
ENDIF(MSVC)
|
||||
|
||||
IF (APPLE)
|
||||
|
|
Loading…
Reference in New Issue