From 4525ae3901d024a4c1ecd4db76493e1f7d9abc7b Mon Sep 17 00:00:00 2001 From: Nicky Date: Wed, 2 Mar 2022 15:54:23 +0100 Subject: [PATCH] Use add_compile_definitions with cmake 3.12.0 now being a thing of the present. --- indra/cmake/bugsplat.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/indra/cmake/bugsplat.cmake b/indra/cmake/bugsplat.cmake index ce61b51b9b..0f5f283f6b 100644 --- a/indra/cmake/bugsplat.cmake +++ b/indra/cmake/bugsplat.cmake @@ -36,9 +36,7 @@ if (USE_BUGSPLAT) if( LINUX ) set(BUGSPLAT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/breakpad) - # 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()