mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix(CMakeLists.txt): define limit c macros on windows (c++ files)
This commit is contained in:
parent
2cd08a542f
commit
fdac4f1cee
1 changed files with 5 additions and 0 deletions
|
|
@ -262,6 +262,11 @@ if(ENABLE_DEBUG_LOGS)
|
|||
add_definitions("-DDEBUG_LOGS")
|
||||
endif()
|
||||
|
||||
# Enable stdint.h limit macros on C++ files. (Windows only.)
|
||||
if(MSVC)
|
||||
add_definitions("-D__STDC_LIMIT_MACROS")
|
||||
endif()
|
||||
|
||||
set(STRICT_OPTIONS_CPP )
|
||||
set(STRICT_OPTIONS_C )
|
||||
set(STRICT_OPTIONS_CXX )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue