From 323a6ae547c2ebe6c15f439d7ef2d3e8bd44d5c4 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 24 May 2024 14:02:27 -0500 Subject: [PATCH] Revert "temporarily disable macOS legacy support" This reverts commit 56f8d15d66f0696d1a486e760f1c0974845afd98. --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75dbc0098..9a53310bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -783,12 +783,12 @@ if (WIN32) list(APPEND ENGINE_SOURCES res/furnace.rc) endif() -#if (APPLE) -# if (CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.12) -# list(APPEND DEPENDENCIES_INCLUDE_DIRS extern/macports-legacy-support/include) -# list(APPEND ENGINE_SOURCES extern/macports-legacy-support/src/time.c) -# endif() -#endif() +if (APPLE) + if (CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.12) + list(APPEND DEPENDENCIES_INCLUDE_DIRS extern/macports-legacy-support/include) + list(APPEND ENGINE_SOURCES extern/macports-legacy-support/src/time.c) + endif() +endif() set(CLI_SOURCES src/cli/cli.cpp