Descent3/linux/CMakeLists.txt
Chris Sarbora 822a411433
Remove loki_utils
Inline the only usage of `loki_getprefpath()`, and use `Base_directory` (controlled by `-setdir`) instead of `loki_getdatapath()`.

Inline or eliminate some other code that became empty/unused with loki removal.
2024-07-13 03:23:10 -05:00

25 lines
364 B
CMake

set(CPPS
lnxcon.cpp
lnxcon_raw.cpp
lnxcontroller.cpp
lnxapp.cpp
lnxcon_null.cpp
lnxdata.cpp
registry.cpp
)
add_library(linux STATIC ${CPPS})
target_link_libraries(linux PRIVATE
cfile
)
target_include_directories(linux PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/linux
>
)
target_link_libraries(linux PRIVATE
ddio
misc
SDL2::SDL2
)