Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Use sdk 10.11 for macos project building
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Nov 15, 2017
1 parent 107a8aa commit 1e31566
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ else
pococonfigure = --cflags=-fPIC --sqlite-thread-safe=1
endif

ifeq ($(osname), mac)
pococonfigure = --cflags=-fPIC --sqlite-thread-safe=1
endif

pocolibs += \
-lPocoDataSQLite \
-lPocoData \
Expand All @@ -112,7 +108,7 @@ endif

ifeq ($(osname), mac)
cflags=-g -Wall -Wextra -Wno-deprecated -Wno-unused-parameter -Wunreachable-code -DLUA_USE_MACOSX \
-mmacosx-version-min=10.9 \
-mmacosx-version-min=10.11 \
$(pococflags) $(opensslcflags) \
-I$(GTEST_ROOT)/include \
-I$(GTEST_ROOT) \
Expand Down Expand Up @@ -242,7 +238,7 @@ app: lib ui

ifeq ($(osname), mac)
lib:
xcodebuild -sdk macosx10.9 -project src/lib/osx/TogglDesktopLibrary.xcodeproj
xcodebuild -sdk macosx10.11 -project src/lib/osx/TogglDesktopLibrary.xcodeproj
endif

ifeq ($(osname), linux)
Expand Down Expand Up @@ -271,7 +267,7 @@ endif

ifeq ($(osname), mac)
ui:
xcodebuild -sdk macosx10.9 -project src/ui/osx/TogglDesktop/TogglDesktop.xcodeproj && \
xcodebuild -sdk macosx10.11 -project src/ui/osx/TogglDesktop/TogglDesktop.xcodeproj && \
!(otool -L $(executable) | grep "Users" && echo "Executable should not contain hardcoded paths!")
endif

Expand Down

0 comments on commit 1e31566

Please sign in to comment.