From fb6c3cac990de3d6d94c64c5262f6852ccfc1c1a Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 1 Oct 2022 18:03:55 +0300 Subject: [PATCH] 1.99.11 --- MyxCMakeConfigVersion.cmake | 2 +- README.md | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/MyxCMakeConfigVersion.cmake b/MyxCMakeConfigVersion.cmake index 29f425e..18f147a 100644 --- a/MyxCMakeConfigVersion.cmake +++ b/MyxCMakeConfigVersion.cmake @@ -1,4 +1,4 @@ -set(MYX_CMAKE_PACKAGE_VERSION "1.99.10") +set(MYX_CMAKE_PACKAGE_VERSION "1.99.11") if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() diff --git a/README.md b/README.md index 040fe0f..266390b 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,13 @@ ## Использование В основном файле `CMakeLists.txt` проекта после команды -`project` добавить строку: +`project` добавить строки: ```cmake -find_package(MyxCMake 1.99.10 PATHS cmake/myx NO_DEFAULT_PATH QUIET REQUIRED) +if(MYX_CMAKE_USE_SYSTEM) + find_package(MyxCMake 1.99.11 REQUIRED) +else() + include(${PROJECT_SOURCE_DIR}/cmake/myx/MyxCMakeConfig.cmake) +endif() ```