mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-04-28 12:47:57 +03:00
Add cmake option to enable microprofile
This commit is contained in:
parent
e3a21c8ef1
commit
dd9c743041
7 changed files with 30 additions and 11 deletions
5
externals/CMakeLists.txt
vendored
5
externals/CMakeLists.txt
vendored
|
@ -138,6 +138,11 @@ endif()
|
|||
# MicroProfile
|
||||
add_library(microprofile INTERFACE)
|
||||
target_include_directories(microprofile SYSTEM INTERFACE ./microprofile)
|
||||
if (ENABLE_MICROPROFILE)
|
||||
target_compile_definitions(microprofile INTERFACE MICROPROFILE_ENABLED=1)
|
||||
else()
|
||||
target_compile_definitions(microprofile INTERFACE MICROPROFILE_ENABLED=0)
|
||||
endif()
|
||||
|
||||
# Nihstro
|
||||
add_library(nihstro-headers INTERFACE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue