From cd358ce1f999c267e61eb57533379bcf8611ffa8 Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Wed, 27 Oct 2021 11:48:17 +0200 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 537c90670d..13196a4aa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -707,8 +707,7 @@ endif() if (BUILD_OPENMW AND APPLE) # Without these flags LuaJit crashes on startup on OSX set_target_properties(openmw PROPERTIES LINK_FLAGS "-pagezero_size 10000 -image_base 100000000") - set_target_properties(components PROPERTIES COMPILE_DEFINITIONS "GL_SILENCE_DEPRECATION=1") - set_target_properties(openmw PROPERTIES COMPILE_DEFINITIONS "GL_SILENCE_DEPRECATION=1") + set_target_properties(components openmw PROPERTIES COMPILE_DEFINITIONS "GL_SILENCE_DEPRECATION=1") endif() # Apple bundling