FindGeant4.cmake Fix, master branch (2023.06.29.)
Unfortunately !1014 (merged) introduced a typo, on my recommendation. STREQUAL
and not STREQUALS
.
...
-- Configuring the build of package: CaloHiveEx
-- Configuring the build of package: CaloG4Sim
-- Found Geant4: /mnt/hdd1/krasznaa/projects/externals/build-athena/install/AthenaExternals/24.0.7/InstallArea/x86_64-el9-gcc11-opt/lib/Geant4-10.6.3/Geant4Config.cmake (found version "10.6.3")
CMake Error at /mnt/hdd1/krasznaa/projects/externals/build-athena/install/AthenaExternals/24.0.7/InstallArea/x86_64-el9-gcc11-opt/cmake/modules/FindGeant4.cmake:39 (if):
if given arguments:
"" "STREQUALS" ""
Unknown arguments specified
Call Stack (most recent call first):
/mnt/hdd1/krasznaa/projects/externals/athena/Calorimeter/CaloG4Sim/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/mnt/hdd1/krasznaa/projects/externals/build-athena/build/Athena/CMakeFiles/CMakeOutput.log".
TIMESTAMP::PROJECT_CONFIG:: 12 ::
I only bumped into this while testing https://gitlab.cern.ch/atlas/atlasexternals/-/tags/2.0.157 in a local build for ATLINFR-4959...