Добавлена пропущенная скобка
This commit is contained in:
parent
85aeb0ecfc
commit
fa931bf692
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -25,6 +25,7 @@ function(FetchContent_Add NAME)
|
||||
${NAME}
|
||||
${ARG_UNPARSED_ARGUMENTS}
|
||||
GIT_REPOSITORY ${ARG_GIT_REPOSITORY}
|
||||
GIT_SHALLOW 1
|
||||
)
|
||||
|
||||
if(NOT ${NAME}_POPULATED)
|
||||
|
Loading…
Reference in New Issue
Block a user