From f38d0923d25fb5c5844a467a47cf1835239995b4 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 6 Jan 2025 23:36:01 -0600 Subject: [PATCH] Require CMake >= 3.10 --- CMakeLists.txt | 2 +- cmake/Package.cmake | 4 ++-- doc/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 21b41e3..a97b532 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(openelp C) # diff --git a/cmake/Package.cmake b/cmake/Package.cmake index 0d01907..5e1f0cb 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -107,7 +107,7 @@ include(CPack) if(WIN32) install(FILES "${OPENELP_DIR}/LICENSE" - DESTINATION "./" + DESTINATION "." COMPONENT license RENAME "LICENSE.txt" ) @@ -120,7 +120,7 @@ if(WIN32) ) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/LICENSE.pcre" - DESTINATION "./" + DESTINATION "." COMPONENT license RENAME "LICENSE.pcre.txt" ) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index a0ff7e0..6c80a28 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -124,7 +124,7 @@ endif() if(OPENELP_DOC_HTMLHELP AND DOXYGEN_FOUND) install(FILES "${OPENELP_DOC_HTMLHELP_OUT_PATH}" - DESTINATION "./" + DESTINATION "." COMPONENT help ) endif()