aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target
diff options
context:
space:
mode:
authorPhilipp Kerling <yol@casix.org>2024-03-24 23:27:19 +0100
committerPhilipp Kerling <yol@casix.org>2024-06-13 20:28:07 +0200
commit4c698a7d8975ccda08cf3b9a69eba71a30ea121d (patch)
treeb5737b15fb365a40c0f9bafad6ce1c54e4b8d3fd /tools/depends/target
parent9c347e7cdbea81e271c9ce80fdc9987c69cb5019 (diff)
[depends] use c++20
Diffstat (limited to 'tools/depends/target')
-rw-r--r--tools/depends/target/fmt/Makefile2
-rw-r--r--tools/depends/target/smctemp/Makefile1
-rw-r--r--tools/depends/target/spdlog/Makefile1
3 files changed, 2 insertions, 2 deletions
diff --git a/tools/depends/target/fmt/Makefile b/tools/depends/target/fmt/Makefile
index 642d8c8583..28d2ecc269 100644
--- a/tools/depends/target/fmt/Makefile
+++ b/tools/depends/target/fmt/Makefile
@@ -3,7 +3,7 @@ include FMT-VERSION
DEPS = Makefile FMT-VERSION ../../download-files.include \
001-windows-pdb-symbol-gen.patch
-CMAKE_OPTIONS=-DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_EXTENSIONS:BOOL=OFF -DFMT_DOC=OFF -DFMT_INSTALL=ON -DFMT_TEST=OFF
+CMAKE_OPTIONS=-DFMT_DOC=OFF -DFMT_INSTALL=ON -DFMT_TEST=OFF
ifeq ($(CROSS_COMPILING), yes)
DEPS += ../../Makefile.include
diff --git a/tools/depends/target/smctemp/Makefile b/tools/depends/target/smctemp/Makefile
index b257625403..6ffbc0e789 100644
--- a/tools/depends/target/smctemp/Makefile
+++ b/tools/depends/target/smctemp/Makefile
@@ -3,6 +3,7 @@ DEPS = ../../Makefile.include SMCTEMP-VERSION Makefile ../../download-files.inc
LIBDYLIB=$(PLATFORM)/$(BYPRODUCT)
+CXXFLAGS += -std=c++17 -framework IOKit
ifeq ($(CPU), arm64)
CXXFLAGS += -DARCH_TYPE_ARM64
else
diff --git a/tools/depends/target/spdlog/Makefile b/tools/depends/target/spdlog/Makefile
index 9e8b36d401..88b3e86377 100644
--- a/tools/depends/target/spdlog/Makefile
+++ b/tools/depends/target/spdlog/Makefile
@@ -13,7 +13,6 @@ CMAKE_OPTIONS= \
ifeq ($(CROSS_COMPILING), yes)
DEPS += ../../Makefile.include
else
- CXXFLAGS += -std=c++17
ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
ifeq ($(PLATFORM),)