diff --git a/scwx-qt/scwx-qt.cmake b/scwx-qt/scwx-qt.cmake index e4a392b3..d013bfb8 100644 --- a/scwx-qt/scwx-qt.cmake +++ b/scwx-qt/scwx-qt.cmake @@ -662,6 +662,11 @@ if (LINUX) target_compile_definitions(supercell-wx PRIVATE QT_NO_EMIT) endif() +if (APPLE) + target_compile_definitions(scwx-qt PRIVATE GL_SILENCE_DEPRECATION) + target_compile_definitions(supercell-wx PRIVATE GL_SILENCE_DEPRECATION) +endif() + target_include_directories(scwx-qt PUBLIC ${scwx-qt_SOURCE_DIR}/source ${FTGL_INCLUDE_DIR} ${IMGUI_INCLUDE_DIRS}