file(GLOB SOURCES "*.cpp") file(GLOB HEADERS "*.h") find_package(Threads) add_library(devcore ${SOURCES} ${HEADERS}) target_link_libraries(devcore PUBLIC Boost::boost) target_link_libraries(devcore PRIVATE ${CMAKE_THREAD_LIBS_INIT}) #target_include_directories(devcore PRIVATE ..)