From d31870249a2103e68707ee1898b8121fd1a5d9ca Mon Sep 17 00:00:00 2001 From: Ted John Date: Tue, 6 Jun 2017 23:45:04 +0100 Subject: [PATCH] macOS: Unignore deprecation warning --- src/openrct2/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openrct2/CMakeLists.txt b/src/openrct2/CMakeLists.txt index 47b24c10b0..4a17e487a8 100644 --- a/src/openrct2/CMakeLists.txt +++ b/src/openrct2/CMakeLists.txt @@ -226,9 +226,8 @@ if (NOT DISABLE_TTF AND UNIX AND NOT APPLE) target_include_directories(${PROJECT} PRIVATE ${FONTCONFIG_INCLUDE_DIRS}) endif () -# macOS builds fail on the use of tmpnam otherwise (#4959) if(APPLE) - set(COMMON_COMPILE_OPTIONS "${COMMON_COMPILE_OPTIONS} -Wno-error=deprecated-declarations -Wno-error=objc-method-access") + set(COMMON_COMPILE_OPTIONS "${COMMON_COMPILE_OPTIONS} -Wno-error=objc-method-access") endif() # Compiler flags