Fix linux build

This commit is contained in:
Phillip Stephens 2018-02-15 09:22:37 -08:00
parent a4045a7764
commit 0c012a3776
1 changed files with 6 additions and 1 deletions

View File

@ -2,5 +2,10 @@
add_executable(cardtest
main.cpp)
set(PLAT_LIBS)
if (UNIX AND NOT APPLE)
list(APPEND PLAT_LIBS rt)
endif()
target_link_libraries(cardtest
kabufuda)
kabufuda ${PLAT_LIBS})