Commit 8fa16e91 authored by jan.koester's avatar jan.koester
Browse files

some changes

parent e265d89d
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -68,18 +68,18 @@ install(FILES

include(CMakePackageConfigHelpers)
write_basic_package_version_file(
  "${CMAKE_CURRENT_BINARY_DIR}/htmlpp/htmlppConfigVersion.cmake"
  "${CMAKE_CURRENT_BINARY_DIR}/libhtmlpp/libhtmlppConfigVersion.cmake"
  VERSION ${Upstream_VERSION}
  COMPATIBILITY AnyNewerVersion
)

export(EXPORT htmlppTargets
  FILE "${CMAKE_CURRENT_BINARY_DIR}/htmlpp/htmlppTargets.cmake"
  FILE "${CMAKE_CURRENT_BINARY_DIR}/libhtmlpp/libhtmlppTargets.cmake"
  NAMESPACE htmlpp::
)

configure_file(cmake/htmlppConfig.cmake
  "${CMAKE_CURRENT_BINARY_DIR}/htmlpp/htmlppConfig.cmake"
configure_file(cmake/libhtmlppConfig.cmake
  "${CMAKE_CURRENT_BINARY_DIR}/libhtmlpp/libhtmlppConfig.cmake"
  @ONLY
)

@@ -96,8 +96,8 @@ install(EXPORT htmlppTargets

install(
  FILES
    "${CMAKE_CURRENT_BINARY_DIR}/htmlpp/htmlppConfig.cmake"
    "${CMAKE_CURRENT_BINARY_DIR}/htmlpp/htmlppConfigVersion.cmake"
    "${CMAKE_CURRENT_BINARY_DIR}/libhtmlpp/libhtmlppConfig.cmake"
    "${CMAKE_CURRENT_BINARY_DIR}/libhtmlpp/libhtmlppConfigVersion.cmake"
  DESTINATION
    ${ConfigPackageLocation}
  COMPONENT