Skip to content

Commit

Permalink
Use path variable in cmakelists
Browse files Browse the repository at this point in the history
Signed-off-by: aalbaali <[email protected]>
  • Loading branch information
aalbaali committed Apr 27, 2024
1 parent 3283c4e commit c85b69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ install(
include(CMakePackageConfigHelpers)
configure_package_config_file(
"TransformsGraphConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/TransformsGraphConfig.cmake"
INSTALL_DESTINATION "lib/cmake/TransformsGraph"
INSTALL_DESTINATION "${TRANSFORMS_GRAPH_CMAKE_EXPORT_DIR}"
)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/TransformsGraphConfig.cmake" DESTINATION "lib/cmake/TransformsGraph")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/TransformsGraphConfig.cmake" DESTINATION "${TRANSFORMS_GRAPH_CMAKE_EXPORT_DIR}")

# Export without installing
export(
Expand Down

0 comments on commit c85b69b

Please sign in to comment.