From f19e1dda772aded893b3f185887464f5cc282bce Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 1 Oct 2022 18:21:38 +0300 Subject: [PATCH] myx --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c72b30f..10284c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,12 @@ cmake_policy(VERSION 3.6..3.7) project(app-wrapper VERSION 1.1.1 LANGUAGES CXX) if(USE_FETCHCONTENT) + if(MYX_CMAKE_USE_SYSTEM) + find_package(MyxCMake 1.99.11 REQUIRED) + else() + include(${PROJECT_SOURCE_DIR}/cmake/myx/MyxCMakeConfig.cmake) + endif() + FetchContent_Add(pow GIT_REPOSITORY https://git.246060.ru/cmake/pow GIT_PATH cmake/pow