Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rusdevops authored Nov 30, 2017
1 parent ec82f18 commit 3c4e1d0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ PROJECT(VMIME VERSION ${VMIME_VERSION})
# Hunter package
hunter_add_package(OpenSSL)

set(GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated")
SET(GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated")

set(CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}")
set(INCLUDE_INSTALL_DIR "include")
SET(CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}")
SET(INCLUDE_INSTALL_DIR "include")

set(VERSION_CONFIG "${GENERATED_DIR}/${PROJECT_NAME}ConfigVersion.cmake")
set(PROJECT_CONFIG "${GENERATED_DIR}/${PROJECT_NAME}Config.cmake")
set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets")
set(NAMESPACE "${PROJECT_NAME}::")
SET(VERSION_CONFIG "${GENERATED_DIR}/${PROJECT_NAME}ConfigVersion.cmake")
SET(PROJECT_CONFIG "${GENERATED_DIR}/${PROJECT_NAME}Config.cmake")
SET(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets")
SET(NAMESPACE "${PROJECT_NAME}::")

include(CMakePackageConfigHelpers)
INCLUDE(CMakePackageConfigHelpers)
write_basic_package_version_file(
"${VERSION_CONFIG}" COMPATIBILITY SameMajorVersion
)
Expand Down

0 comments on commit 3c4e1d0

Please sign in to comment.