From 318781a6d4d01f9a0f11828081cc2eb265e709b7 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Tue, 13 Oct 2020 18:10:34 -0300 Subject: [PATCH] Update macos build to use 10.14 compatibility --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2bfe626..d2f7dec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ cmake_minimum_required(VERSION 3.7) +# Has to be set before `project()`, and ignored on non-macos: +set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14 CACHE STRING "macOS deployment target (Apple clang only)") + project(liblokimq CXX C) include(GNUInstallDirs)