diff options
author | Yuanfang Chen <tabloid.adroit@gmail.com> | 2023-10-26 03:01:39 +0000 |
---|---|---|
committer | Yuanfang Chen <tabloid.adroit@gmail.com> | 2023-10-26 03:02:53 +0000 |
commit | f09f58d0f2a981d8d578c66fbd1f27709ee6dfda (patch) | |
tree | 76853711c0d8c73357cf240c4dabe48cafe02a49 | |
parent | 44193a0573d82c1c353a25b73acc338663095c80 (diff) | |
download | llvm-f09f58d0f2a981d8d578c66fbd1f27709ee6dfda.zip llvm-f09f58d0f2a981d8d578c66fbd1f27709ee6dfda.tar.gz llvm-f09f58d0f2a981d8d578c66fbd1f27709ee6dfda.tar.bz2 |
[OpenMP] [OMPD] Fix CMake install command
https://cmake.org/cmake/help/latest/command/install.html
"If a relative path is given it is interpreted relative to the value of the CMAKE_INSTALL_PREFIX variable."
-rw-r--r-- | openmp/libompd/gdb-plugin/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libompd/gdb-plugin/CMakeLists.txt b/openmp/libompd/gdb-plugin/CMakeLists.txt index a60f941..20cb468 100644 --- a/openmp/libompd/gdb-plugin/CMakeLists.txt +++ b/openmp/libompd/gdb-plugin/CMakeLists.txt @@ -36,5 +36,5 @@ target_link_libraries (ompdModule ${CMAKE_DL_LIBS}) set_target_properties (ompdModule PROPERTIES PREFIX "") set_target_properties (ompdModule PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/python-module/ompd/") -install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/python-module/ompd DESTINATION ${CMAKE_INSTALL_PREFIX}/share/gdb/python/ PATTERN ompdModule.so PERMISSIONS OWNER_READ WORLD_READ GROUP_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE) +install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/python-module/ompd DESTINATION share/gdb/python/ PATTERN ompdModule.so PERMISSIONS OWNER_READ WORLD_READ GROUP_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE) |