mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-23 03:58:59 +00:00
db8aa64d2f
Properly define MEM_USE_RTL definition only for mem library. Link other dependant modules with mem.
14 lines
232 B
CMake
14 lines
232 B
CMake
set(CPPS
|
|
mem.cpp
|
|
)
|
|
|
|
add_library(mem STATIC ${CPPS})
|
|
target_compile_definitions(mem PUBLIC
|
|
$<$<BOOL:${ENABLE_MEM_RTL}>:MEM_USE_RTL>
|
|
)
|
|
target_include_directories(mem PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/mem
|
|
>
|
|
)
|