https://github.com/Kitware/CMake
Revision d9a6e0ffc82fbc460289c6b0808eff27ac316235 authored by Craig Scott on 10 September 2022, 08:22:18 UTC, committed by Craig Scott on 10 September 2022, 08:23:21 UTC
The unset() command was using __cmake_contentNameLower before that
variable was restored from the __cmake_fcCurrentVarsStack. That means
if there had been a nested call to FetchContent_MakeAvailable(), the wrong
variable name would have been cleared (the nested name instead of the
one from the current call). That would have left the variable set upon return,
blocking the dependency provider from seeing any further calls to
FetchContent_MakeAvailable() in the current variable scope or below for the
current dependency.
1 parent a2f9e67
History
Tip revision: d9a6e0ffc82fbc460289c6b0808eff27ac316235 authored by Craig Scott on 10 September 2022, 08:22:18 UTC
FetchContent: Fix unsetting wrong variable name after provider returns
Tip revision: d9a6e0f
File Mode Size
AliasTarget
Architecture
ArgumentExpansion
Assembler
BuildDepends
BundleGeneratorTest
BundleTest
BundleUtilities
CFBundleTest
CMakeCommands
CMakeGUI
CMakeLib
CMakeOnly
CMakeTestAllGenerators
CMakeTests
COnly
CPackComponents
CPackComponentsDEB
CPackComponentsForAll
CPackComponentsPrefix
CPackNSISGenerator
CPackTestAllGenerators
CPackUseDefaultVersion
CPackUseProjectVersion
CPackUseShortProjectVersion
CPackWiXGenerator
CSharpLinkFromCxx
CSharpLinkToCxx
CSharpOnly
CSharpWin32GenEx
CTestConfig
CTestCoverageCollectGCOV
CTestLimitDashJ
CTestScriptMode
CTestTest
CTestTest2
CTestTestBadExe
CTestTestBadGenerator
CTestTestChecksum
CTestTestCostSerial
CTestTestCrash
CTestTestCycle
CTestTestDepends
CTestTestEmptyBinaryDirectory
CTestTestFailure
CTestTestFdSetSize
CTestTestLabelRegExp
CTestTestLaunchers
CTestTestMissingDependsExe
CTestTestParallel
CTestTestResourceLock
CTestTestRunScript
CTestTestScheduler
CTestTestSerialInDepends
CTestTestSerialOrder
CTestTestSkipReturnCode
CTestTestStopTime
CTestTestSubdir
CTestTestTimeout
CTestTestUpload
CTestTestVerboseOutput
CTestTestZeroTimeout
CheckCompilerRelatedVariables
CoberturaCoverage
CommandLength
CommandLineTest
CompatibleInterface
CompileCommandOutput
CompileDefinitions
CompileFeatures
CompileOptions
Complex
ComplexOneConfig
ConfigSources
Contracts
CrossCompile
Cuda
CudaOnly
CustComDepend
CustomCommand
CustomCommandByproducts
CustomCommandWorkingDirectory
CxxDialect
CxxOnly
CxxSubdirC
DelphiCoverage
Dependency
DoubleProject
EmptyDepends
EmptyLibrary
EmptyProperty
Environment
ExportImport
ExternalOBJ
ExternalProject
ExternalProjectLocal
ExternalProjectSourceSubdir
ExternalProjectSourceSubdirNotCMake
ExternalProjectSubdir
ExternalProjectUpdate
FindALSA
FindBLAS
FindBZip2
FindBoost
FindCURL
FindCups
FindDevIL
FindDoxygen
FindEXPAT
FindEnvModules
FindFontconfig
FindFreetype
FindGDAL
FindGIF
FindGLEW
FindGLUT
FindGSL
FindGTK2
FindGTest
FindGit
FindGnuTLS
FindICU
FindIconv
FindIntl
FindJNI
FindJPEG
FindJasper
FindJsonCpp
FindLAPACK
FindLTTngUST
FindLibArchive
FindLibLZMA
FindLibRHash
FindLibUV
FindLibXml2
FindLibXslt
FindLibinput
FindMPI
FindMatlab
FindODBC
FindOpenACC
FindOpenCL
FindOpenGL
FindOpenMP
FindOpenSSL
FindPNG
FindPackageModeMakefileTest
FindPackageTest
FindPatch
FindPostgreSQL
FindProtobuf
FindPython
FindRuby
FindSDL
FindSQLite3
FindTIFF
FindThreads
FindVulkan
FindX11
FindXalanC
FindXercesC
ForceInclude
Fortran
FortranC
FortranModules
FortranOnly
Framework
FunctionTest
Fuzzing
GeneratorExpression
GhsMulti
GoogleTest
HIP
ISPC
ImportedSameName
IncludeDirectories
IncludeDirectoriesCPATH
InstallMode
InterfaceLibrary
InterfaceLinkLibraries
InterfaceLinkLibrariesDirect
JCTest
JacocoCoverage
Java
JavaExportImport
JavaJavah
JavaNativeHeaders
JavascriptCoverage
Jump
LibName
LinkDirectory
LinkFlags
LinkLanguage
LinkLine
LinkLineOrder
LinkStatic
LoadCommand
LoadCommandOneConfig
MFC
MSManifest
MSVCRuntimeLibrary
MacRuntimePath
MacroTest
MakeClean
MathTest
MissingInstall
MissingSourceFile
Module
ModuleDefinition
MumpsCoverage
NewlineArgs
ObjC
ObjCXX
ObjectLibrary
OutDir
OutName
OutOfBinary
OutOfSource
PDBDirectoryAndName
PerConfig
Plugin
Policy0002
PolicyScope
PositionIndependentTargets
PreOrder
PrecompiledHeader
Preprocess
Properties
PythonCoverage
Qt4And5Automoc
Qt4Autogen
Qt4Deploy
Qt4Targets
Qt5Autogen
Qt6Autogen
QtAutogen
QtAutomocNoQt
ReturnTest
RunCMake
RuntimePath
SBCS
SetLang
Simple
SimpleCOnly
SourceFileIncludeDirProperty
SourceFileProperty
SourceGroups
SourcesProperty
StagingPrefix
StringFileTest
SubDir
SubDirSpaces
SubProject
SwiftMix
SwiftOnly
SystemInformation
TargetName
TestDriver
Testing
TestsWorkingDirectory
TryCompile
Unset
UseSWIG
VSAndroid
VSExcludeFromDefaultBuild
VSExternalInclude
VSGNUFortran
VSMASM
VSManagedCustomCommand
VSMidl
VSNASM
VSProjectInSubdir
VSResource
VSResourceNinjaForceRSP
VSWinStorePhone
VSWindowsFormsResx
VSXaml
VariableUsage
Visibility
WarnUnusedCliUnused
WatcomRuntimeLibrary
Wrapping
X11
XCTest
iOSNavApp
.NoDartCoverage -rw-r--r-- 39 bytes
BootstrapTest.cmake -rw-r--r-- 505 bytes
CMakeBuildTest.cmake.in -rw-r--r-- 2.0 KB
CMakeCopyright.cmake -rw-r--r-- 959 bytes
CMakeInstall.cmake -rw-r--r-- 1.7 KB
CMakeLists.txt -rw-r--r-- 143.2 KB
CTestUpdateBZR.cmake.in -rw-r--r-- 4.6 KB
CTestUpdateCVS.cmake.in -rw-r--r-- 5.4 KB
CTestUpdateCommon.cmake -rw-r--r-- 10.3 KB
CTestUpdateGIT.cmake.in -rw-r--r-- 11.2 KB
CTestUpdateGIT.sh.in -rwxr-xr-x 135 bytes
CTestUpdateHG.cmake.in -rw-r--r-- 5.4 KB
CTestUpdateP4.cmake.in -rw-r--r-- 7.6 KB
CTestUpdateSVN.cmake.in -rw-r--r-- 5.3 KB
CheckFortran.cmake -rw-r--r-- 2.6 KB
CheckSwift.cmake -rw-r--r-- 2.2 KB
EnforceConfig.cmake.in -rw-r--r-- 1.4 KB
README.rst -rw-r--r-- 979 bytes
bootstrap.bat.in -rw-r--r-- 47 bytes
test_clean.cmake.in -rw-r--r-- 81 bytes

README.rst

back to top