This is my exact output if it helps:
-- The C compiler identification is AppleClang 11.0.3.11030032
-- The CXX compiler identification is AppleClang 11.0.3.11030032
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_TLS
-- Performing Test HAVE_TLS - Success
-- Found EXPAT: /usr/lib/libexpat.dylib (found version "2.2.8")
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework
-- Found X11: /usr/X11R6/include
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found XQuartzGL: /usr/X11R6/include
-- Configuring download of missing dataset G4NDL (4.6)
-- Configuring download of missing dataset G4EMLOW (7.9.1)
-- Configuring download of missing dataset PhotonEvaporation (5.5)
-- Configuring download of missing dataset RadioactiveDecay (5.4)
-- Configuring download of missing dataset G4PARTICLEXS (2.1)
-- Configuring download of missing dataset G4PII (1.3)
-- Configuring download of missing dataset RealSurface (2.1.1)
-- Configuring download of missing dataset G4SAIDDATA (2.0)
-- Configuring download of missing dataset G4ABLA (3.1)
-- Configuring download of missing dataset G4INCL (1.0)
-- Configuring download of missing dataset G4ENSDFSTATE (2.2)
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.8.5", minimum required is "3.0")
-- Found PythonLibs: /usr/local/Frameworks/Python.framework/Versions/3.8/lib/libpython3.8.dylib (found version "3.8.5")
-- Found Boost: /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake (found version "1.73.0")
-- The following Geant4 features are enabled:
GEANT4_BUILD_CXXSTD: Compiling against C++ Standard '11'
GEANT4_BUILD_MULTITHREADED: Build multithread enabled libraries
GEANT4_BUILD_TLS_MODEL: Building with TLS model 'global-dynamic'
GEANT4_USE_SYSTEM_EXPAT: Using system EXPAT library
GEANT4_USE_QT: Build Geant4 with Qt support
GEANT4_USE_OPENGL_X11: Build Geant4 OpenGL driver with X11 support
GEANT4_USE_PYTHON: Building bindings for Python 3.8
-- Configuring done
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4global" links to target "Boost::python" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/global/CMakeLists.txt:2 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4interfaces" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/interface/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4intercoms" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/intercoms/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4run" links to target "Boost::python" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/run/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4event" links to target "Boost::python" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/event/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4tracking" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/tracking/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4track" links to target "Boost::python" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/track/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4geometry" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/geometry/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4materials" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/materials/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4particles" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/particles/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4processes" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/processes/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4digits_hits" links to target "Boost::python" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/digits_hits/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4visualization" links to target "Boost::python" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/visualization/CMakeLists.txt:16 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4graphics_reps" links to target "Boost::python" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/graphics_reps/CMakeLists.txt:4 (geant4_add_pymodule)
CMake Error at environments/g4py/G4PythonHelpers.cmake:22 (add_library):
Target "pyG4physicslists" links to target "Boost::python" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
environments/g4py/G4PythonHelpers.cmake:58 (g4py_add_module)
environments/g4py/source/physics_lists/CMakeLists.txt:4 (geant4_add_pymodule)
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
The compiler is finding Boost just not this “target” “Boost:python”