Skip to content

Commit

Permalink
Merge pull request #120 from ufleisch/arch-independent
Browse files Browse the repository at this point in the history
Use ARCH_INDEPENDENT with write_basic_package_version_file
  • Loading branch information
nemtrif authored Dec 29, 2023
2 parents 139d233 + b594c9b commit 6be08bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is deprecated and will be removed in a future release
# Please see the instructions for installation in README.md file

cmake_minimum_required (VERSION 3.5...3.27)
cmake_minimum_required (VERSION 3.14...3.27)
project (utf8cpp
VERSION 4.0.4
LANGUAGES CXX
Expand All @@ -21,6 +21,7 @@ write_basic_package_version_file(
"${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake"
VERSION ${PROJECT_VERSION}
COMPATIBILITY SameMajorVersion
ARCH_INDEPENDENT
)

install(TARGETS ${PROJECT_NAME}
Expand Down

0 comments on commit 6be08bb

Please sign in to comment.