Descent3/dd_video/CMakeLists.txt

18 lines
283 B
CMake
Raw Normal View History

2024-05-19 09:34:58 +00:00
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
>
)