dfhack/depends/tthread/CMakeLists.txt

7 lines
233 B
CMake

project(dfhack-tinythread)
add_library(dfhack-tinythread STATIC EXCLUDE_FROM_ALL tinythread.cpp tinythread.h fast_mutex.h)
if(UNIX)
target_link_libraries(dfhack-tinythread pthread)
endif()
ide_folder(dfhack-tinythread "Depends")