mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-26 21:58:37 -05:00
MISC3: Fed up with warning 4996 spam on MSVC, silence it for good in CMake
This commit is contained in:
parent
c0dafb3197
commit
e173eec3ef
@ -653,6 +653,9 @@ IF (MSVC)
|
||||
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
Block a user