Add cmake option to enable microprofile

This commit is contained in:
PabloMK7 2025-03-09 19:37:43 +01:00 committed by OpenSauce
parent e3a21c8ef1
commit dd9c743041
7 changed files with 30 additions and 11 deletions

View file

@ -86,6 +86,8 @@ option(ENABLE_VULKAN "Enables the Vulkan renderer" ON)
option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF)
option(ENABLE_MICROPROFILE "Enables microprofile capabilities" OFF)
# Compile options
CMAKE_DEPENDENT_OPTION(COMPILE_WITH_DWARF "Add DWARF debugging information" ${IS_DEBUG_BUILD} "MINGW" OFF)
option(ENABLE_LTO "Enable link time optimization" ${DEFAULT_ENABLE_LTO})