aboutsummaryrefslogtreecommitdiff
path: root/cmake.toml
diff options
context:
space:
mode:
Diffstat (limited to 'cmake.toml')
-rw-r--r--cmake.toml11
1 files changed, 3 insertions, 8 deletions
diff --git a/cmake.toml b/cmake.toml
index 9817c22..7495155 100644
--- a/cmake.toml
+++ b/cmake.toml
@@ -10,18 +10,13 @@ version = "1.1.2"
description = "🚀 Discord RPC Blocker for Lunar Client"
languages = ["CXX", "C"]
-[conditions]
-windows = "WIN32"
-msvc = "MSVC"
-
[fetch-content]
fmt = { git = "https://github.com/fmtlib/fmt", tag = "8.1.1" }
[target.soyuz]
type = "executable"
-windows.sources = ["soyuz/*.cc", "resource/*.rc"]
+sources = ["soyuz/*.cc", "resource/*.rc"]
private-include-directories = ["include/"]
-properties = { CXX_STANDARD = "20", CXX_STANDARD_REQUIRED = true, CMAKE_CXX_EXTENSIONS = false, WIN32_EXECUTABLE = true }
-compile-features = ["cxx_std_20", "cxx_return_type_deduction"]
-msvc.compile-options = ["/W4", "/WX"] # /Wall
+properties = { CMAKE_CXX_EXTENSIONS = false, CXX_STANDARD = "23", CXX_STANDARD_REQUIRED = true, WIN32_EXECUTABLE = true }
+compile-options = ["/W4", "/WX"]
private-link-libraries = ["fmt::fmt"]