Update macos build to use 10.14 compatibility

This commit is contained in:
Jason Rhinelander 2020-10-13 18:10:34 -03:00
parent f37e619d7b
commit 318781a6d4
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 3.7) 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) project(liblokimq CXX C)
include(GNUInstallDirs) include(GNUInstallDirs)