dfhack/depends/tthread/CMakeLists.txt

6 lines
232 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")