Skip to content

Commit

Permalink
Merge pull request #30 from NREL/macOS_wx3.1.5
Browse files Browse the repository at this point in the history
Repeat of pull request 27 to patch instead of develop
  • Loading branch information
sjanzou authored Jan 10, 2022
2 parents 72e2a8a + cddb6c1 commit 67209e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

set(CMAKE_VERBOSE_MAKEFILE ON)

cmake_minimum_required(VERSION 3.11)
cmake_minimum_required(VERSION 3.19)

option(SAM_SKIP_TOOLS "Skips the lk sandbox" OFF)

if (APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
endif ()

if (UNIX AND NOT CMAKE_C_COMPILER)
Expand Down Expand Up @@ -60,7 +60,7 @@ else (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
if (APPLE)
add_compile_options(-arch x86_64 -fno-common)
add_compile_options( -fno-common)
add_definitions(-DWX_PRECOMP)
endif ()
add_compile_options(-Wall -O2 -Werror)
Expand Down

0 comments on commit 67209e3

Please sign in to comment.