mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
db8aa64d2f
Properly define MEM_USE_RTL definition only for mem library. Link other dependant modules with mem.
17 lines
235 B
CMake
17 lines
235 B
CMake
set(HEADERS lib2d.h)
|
|
set(CPPS
|
|
font.cpp
|
|
hardsurf.cpp
|
|
memsurf.cpp
|
|
pen.cpp
|
|
pentext.cpp
|
|
screen.cpp
|
|
surface.cpp
|
|
viewport.cpp)
|
|
|
|
add_library(2dlib STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(2dlib PRIVATE
|
|
cfile
|
|
mem
|
|
)
|