hyporo-cpp/source/hpr/parallel/CMakeLists.txt

25 lines
493 B
CMake
Raw Normal View History

2023-03-13 22:27:09 +05:00
cmake_minimum_required(VERSION 3.16)
project(parallel
VERSION "${HPR_VERSION}"
LANGUAGES CXX
)
hpr_add_library(${PROJECT_NAME} INTERFACE)
hpr_collect_interface(${PROJECT_NAME}
"../parallel.hpp"
"*.hpp"
)
target_sources(${PROJECT_NAME}
INTERFACE ${${PROJECT_NAME}_HEADERS_INTERFACE} ${HPR_INSTALL_INTERFACE}/${PROJECT_NAME}>
)
target_link_libraries(${PROJECT_NAME}
INTERFACE
tbb
)
hpr_install(${PROJECT_NAME} ${PROJECT_SOURCE_DIR})