Skip to content

Commit

Permalink
[flang] Install omp_lib.h to install directory alongside modules
Browse files Browse the repository at this point in the history
This patch simply adds a cmake install line for omp_lib.h that was
previously missing, to put it alongisde omp_lib.mod so it can be found
by the driver.
  • Loading branch information
DavidTruby committed Jul 3, 2023
1 parent c9eec3b commit a51fba6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flang/tools/f18/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ endif()

# TODO Move this to a more suitable location
file(COPY ${FLANG_SOURCE_DIR}/module/omp_lib.h DESTINATION "${CMAKE_BINARY_DIR}/include/flang/OpenMP/" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
install(FILES ${CMAKE_BINARY_DIR}/include/flang/OpenMP/omp_lib.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/flang/OpenMP")

0 comments on commit a51fba6

Please sign in to comment.