Skip to content

Commit

Permalink
Fix some paths in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
trolando committed Nov 17, 2023
1 parent adb7c6d commit b0282c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ include(CMakePackageConfigHelpers)

configure_package_config_file(
${CMAKE_SOURCE_DIR}/cmake/sylvan-config.cmake.in
${CMAKE_BINARY_DIR}/cmake/sylvan-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/sylvan-config.cmake
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/sylvan
)

write_basic_package_version_file(
${CMAKE_BINARY_DIR}/cmake/sylvan-config-version.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/sylvan-config-version.cmake
VERSION ${SYLVAN_VERSION}
COMPATIBILITY SameMinorVersion
)
Expand All @@ -133,8 +133,8 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sylvan.pc.in" "${CMAKE_CURRENT_BINAR

install(
FILES
${CMAKE_BINARY_DIR}/cmake/sylvan-config.cmake
${CMAKE_BINARY_DIR}/cmake/sylvan-config-version.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/sylvan-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/sylvan-config-version.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/sylvan
)

Expand All @@ -145,7 +145,7 @@ install(
)

export(EXPORT sylvan-targets
FILE ${CMAKE_BINARY_DIR}/cmake/sylvan-targets.cmake
FILE ${CMAKE_CURRENT_BINARY_DIR}/cmake/sylvan-targets.cmake
NAMESPACE sylvan::
)

0 comments on commit b0282c4

Please sign in to comment.