Use add_compile_definitions with cmake 3.12.0 now being a thing of the present.

meow-7.2.2
Nicky 2022-03-02 15:54:23 +01:00
parent 7c955976e4
commit 4525ae3901
1 changed files with 1 additions and 3 deletions

View File

@ -36,9 +36,7 @@ if (USE_BUGSPLAT)
if( LINUX )
set(BUGSPLAT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/breakpad)
# <FS:ND/> Sadly we cannot have the nice things yet and need add_definitions for older cmake
#add_compile_definitions(__STDC_FORMAT_MACROS)
add_definitions(-D__STDC_FORMAT_MACROS)
add_compile_definitions(__STDC_FORMAT_MACROS)
else()
set(BUGSPLAT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/bugsplat)
endif()