1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
include_directories(${CMAKE_SOURCE_DIR}/common) add_library(os STATIC Mutex.cxx Thread.cxx w32tiger.c os.cxx) if(UNIX) target_link_libraries(os pthread) endif() if(UNIX) libtool_create_control_file(os) endif()