Merge pull request #1243 from mariusgreuel/pr-cmake-updates

CMake updates
This commit is contained in:
Stefan Rueger authored and GitHub committed 2022-12-29 03:03:57 +00:00
commit d91c33b5e3
4 files changed
+45 -7

No files matched your search

-2
View File
@@ -65,8 +65,6 @@ if(MSVC)
add_compile_options(/wd4018) # warning C4018: signed/unsigned mismatch
add_compile_options(/wd4244) # warning C4244: conversion from '...' to '...', possible loss of data
add_compile_options(/wd4267) # warning C4267: conversion from '...' to '...', possible loss of data
add_compile_options(/wd5105) # warning C5105: macro expansion producing 'xxx' has undefined behavior
add_compile_options(/wd6255) # warning C6255: _alloca indicates failure by raising a stack overflow exception. Consider using _malloca instead
set(EXTRA_WINDOWS_SOURCES ${EXTRA_WINDOWS_SOURCES}
"msvc/getopt.c"