aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-08-27 22:35:17 +0200
committerPetr Mrázek <peterix@gmail.com>2021-08-27 22:35:17 +0200
commitb2c1100b1c3a1eb64152eba7aafac6493b2f7ff0 (patch)
treeb021f6227a1780009d886fe15c11ea715173e6dd /CMakeLists.txt
parent34a5459dcef1adb7eb355bb0f940eb212173857f (diff)
downloadPrismLauncher-b2c1100b1c3a1eb64152eba7aafac6493b2f7ff0.tar.gz
PrismLauncher-b2c1100b1c3a1eb64152eba7aafac6493b2f7ff0.tar.bz2
PrismLauncher-b2c1100b1c3a1eb64152eba7aafac6493b2f7ff0.zip
NOISSUE introduce the concept of secrets static library
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 817b4cfc..acc777fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,8 +90,8 @@ set(MultiMC_DISCORD_URL "" CACHE STRING "URL for the Discord guild.")
# Subreddit URL
set(MultiMC_SUBREDDIT_URL "" CACHE STRING "URL for the subreddit.")
-# MSA Client ID
-set(MultiMC_MSA_CLIENT_ID "" CACHE STRING "Client ID used for MSA authentication")
+
+option(MultiMC_EMBED_SECRETS "Determines whether to embed secrets. Secrets are separate and non-public." OFF)
#### Check the current Git commit and branch
include(GetGitRevisionDescription)
@@ -287,5 +287,9 @@ add_subdirectory(libraries/katabasis) # An OAuth2 library that tried to do too m
add_subdirectory(buildconfig)
+if(MultiMC_EMBED_SECRETS)
+ add_subdirectory(secrets)
+endif()
+
# NOTE: this must always be last to appease the CMake deity of quirky install command evaluation order.
add_subdirectory(launcher)