aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-25 06:05:21 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-03-30 13:07:11 +0000
commitb21dfd36cdafd76b5538383279d28b003188fa19 (patch)
tree9c11f8d2463950332cecd249342e1000b5d0f501 /CMakeLists.txt
parentf86a8fe59b6b41229cc9353d3144d0381494fed1 (diff)
Provide more information in About pageHEADmaster
- Downstream version and the upstream revision it's based on (commit and date) - URL to our modified source code. - miniaudio and libsodium versions. - Build profile (release, dev, or debug). Also, stop checking for updates.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cdd5952..4dba482 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,6 +144,8 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release")
target_link_options(Attorney_Online PRIVATE -Wl,-O2 -Wl,--as-needed -flto -fuse-ld=lld)
endif()
+target_compile_definitions(Attorney_Online PRIVATE AO_BUILD_PROFILE="${CMAKE_BUILD_TYPE}")
+
set_target_properties(Attorney_Online PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bin")
if(WIN32)