Добавлена пропущенная скобка

This commit is contained in:
Andrei Astafev 2022-10-02 03:24:06 +03:00
parent 85aeb0ecfc
commit fa931bf692
4 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
set(MYX_CMAKE_PACKAGE_VERSION "1.99.20")
set(MYX_CMAKE_PACKAGE_VERSION "1.99.21")
if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()

View File

@ -12,7 +12,7 @@
```cmake
if(MYX_CMAKE_USE_SYSTEM)
find_package(MyxCMake 1.99.20 REQUIRED)
find_package(MyxCMake 1.99.21 REQUIRED)
else()
include(${PROJECT_SOURCE_DIR}/cmake/myx/MyxCMakeConfig.cmake)
endif()

View File

@ -108,7 +108,7 @@ function(myx_add_library NAME TYPE)
# При этом сама цель `${NAME}` может участвовать в сборке,
# если окажется в перечне зависимостей.
if(NOT PROJECT_IS_TOP_LEVEL)
set_target_properties(${NAME} PROPERTIES EXCLUDE_FROM_ALL True
set_target_properties(${NAME} PROPERTIES EXCLUDE_FROM_ALL True)
return()
endif()
@ -205,6 +205,4 @@ function(myx_add_library NAME TYPE)
COMPONENT lib
)
endif()
endfunction()

View File

@ -25,6 +25,7 @@ function(FetchContent_Add NAME)
${NAME}
${ARG_UNPARSED_ARGUMENTS}
GIT_REPOSITORY ${ARG_GIT_REPOSITORY}
GIT_SHALLOW 1
)
if(NOT ${NAME}_POPULATED)