mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Make coz-profilerConfig.cmake to be relocatable
This commit is contained in:
parent
44edb3f3e2
commit
43637b877a
@ -32,5 +32,4 @@ if(BUILD_BENCHMARKS)
|
||||
add_subdirectory(benchmarks)
|
||||
endif()
|
||||
|
||||
configure_file(coz-profilerConfig.cmake.in coz-profilerConfig.cmake @ONLY)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/coz-profilerConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
|
||||
install(FILES coz-profilerConfig.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
|
||||
|
@ -1,8 +1,6 @@
|
||||
|
||||
|
||||
set(COZ_BIN @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/coz)
|
||||
set(COZ_INCLUDE_DIR @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@)
|
||||
set(COZ_LIBRARY @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/libcoz.so)
|
||||
set(COZ_BIN ${CMAKE_CURRENT_LIST_DIR}/../../bin/coz)
|
||||
set(COZ_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/../../include)
|
||||
set(COZ_LIBRARY ${CMAKE_CURRENT_LIST_DIR}/../libcoz.so)
|
||||
|
||||
set(COZ_FOUND ON)
|
||||
|
Loading…
Reference in New Issue
Block a user