Files
clang-p2996/openmp/tools/multiplex/CMakeLists.txt
serge-sans-paille 6f2ed8fd3f [OpenMP] Install ompt-multiplex.h alongside omp.h
The default install direction may not be in the compiler search path.

Differential Revision: https://reviews.llvm.org/D133420
2022-09-09 09:42:08 +02:00

11 lines
308 B
CMake

if(LIBOMP_OMPT_SUPPORT)
include_directories(${LIBOMP_INCLUDE_DIR})
add_library(ompt-multiplex INTERFACE)
target_include_directories(ompt-multiplex INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
install(FILES ompt-multiplex.h DESTINATION "${LIBOMP_HEADERS_INSTALL_PATH}")
add_subdirectory(tests)
endif()