Skip to content

Commit

Permalink
kram - build - cmake fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alecazam committed Sep 15, 2024
1 parent d706b1e commit 09a4079
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ cmake_minimum_required(VERSION 3.19.1 FATAL_ERROR)
set(BUILD_MAC FALSE)
set(BUILD_WIN FALSE)

#-----------------------------------------------------

# suppress ZERO_CHECK project
set(CMAKE_SUPPRESS_REGENERATION true)

#-----------------------------------------------------
# still building Win using Cmake

Expand All @@ -26,6 +21,9 @@ if (BUILD_WIN)

#-----------------------------------------------------

# suppress ZERO_CHECK project
set(CMAKE_SUPPRESS_REGENERATION true)

# use clang-cl on Win
set(CMAKE_CXX_COMPILER "clang-cl")

Expand Down Expand Up @@ -84,6 +82,9 @@ if (BUILD_MAC)

#-----------------------------------------------------

# suppress ZERO_CHECK project
set(CMAKE_SUPPRESS_REGENERATION true)

# CMAKE_OSX_DEPLOYMENT_TARGET must be set as a CACHE variable, or it will be stripped
set(CMAKE_OSX_DEPLOYMENT_TARGET "13.0" CACHE STRING "Minimum macOS")
set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE STRING "Architecture macOS")
Expand Down

0 comments on commit 09a4079

Please sign in to comment.