From b21dfd36cdafd76b5538383279d28b003188fa19 Mon Sep 17 00:00:00 2001 From: Osmium Sorcerer Date: Wed, 25 Mar 2026 06:05:21 +0000 Subject: Provide more information in About page - 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. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit