Descent3/dd_video/CMakeLists.txt
2024-05-19 12:34:58 +03:00

18 lines
283 B
CMake

set(CPPS
$<$<PLATFORM_ID:Windows>:
video_win32.cpp
vidWin32FS.cpp
vidWin32Win.cpp
>
$<$<PLATFORM_ID:Linux,Darwin>:
video_lnx.cpp
>
)
add_library(dd_video STATIC ${CPPS})
target_link_libraries(dd_video PRIVATE
$<$<PLATFORM_ID:Linux,Darwin>:
linux
>
)