From da91c97551a3b98b50c80f0e3b6bebd3fc553845 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 4 Oct 2022 13:12:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B8=D1=81=D0=BA=20=D0=BF=D0=B0?= =?UTF-8?q?=D0=BA=D0=B5=D1=82=D0=BE=D0=B2=20=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BD=D1=8F=D0=B5=D1=82=D1=81=D1=8F=20=D0=B4=D0=BE=20=D1=81?= =?UTF-8?q?=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D1=86=D0=B5=D0=BB?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9521217..4df890d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,9 +10,6 @@ project(myx-cmake-example-base VERSION 0.3.0 LANGUAGES CXX) # Рекомендуемый способ подключения MyxCMake include(cmake/myx_setup.cmake) -# Цель для компиляции -add_library(${PROJECT_NAME} INTERFACE) - # Поиск пакетов myx_find_packages( PACKAGES Git CURL PkgConfig Quadmath @@ -26,6 +23,9 @@ pkg_check_modules(UDEV udev) # Поиск с помощью функции find_package find_package(Boost 1.55.0 REQUIRED) +# Цель для компиляции +add_library(${PROJECT_NAME} INTERFACE) + # Автоматически генерируемый файл с информацией о репозитории myx_generate_git_info_header(${PROJECT_NAME} "git_info_p.hpp")