mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
Add ARCH_INDEPENDENT so the generated cmake config files are really arch independent (#84)
closes #83
This commit is contained in:
parent
98ffd0e29b
commit
8c130658e1
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.8)
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
|
||||
project(magic_enum VERSION "0.7.2" LANGUAGES CXX)
|
||||
|
||||
|
|
@ -32,7 +32,8 @@ target_include_directories(${PROJECT_NAME}
|
|||
|
||||
write_basic_package_version_file(${PROJECT_NAME}ConfigVersion.cmake
|
||||
VERSION ${PROJECT_VERSION}
|
||||
COMPATIBILITY AnyNewerVersion)
|
||||
COMPATIBILITY AnyNewerVersion
|
||||
ARCH_INDEPENDENT)
|
||||
|
||||
if(MAGIC_ENUM_OPT_INSTALL)
|
||||
install(TARGETS ${PROJECT_NAME}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue