Files
geant4/cmake/Templates/Geant4PackageCache.cmake.in
2019-12-06 15:12:28 +01:00

17 lines
593 B
CMake

# This file is generated by the Geant4 CMake buildsystem and should not be editted
#
# This file stores paths and settings to external libraries found and used by this
# install of Geant4 when it was built.
macro(geant4_set_and_check_package_variable _name _value _type _docstring)
if(DEFINED ${_name})
if(NOT ("${${_name}}" STREQUAL "${_value}"))
message(WARNING "Value of '${_name}' is already set and does not match value set at Geant4 build-time")
endif()
else()
set(${_name} ${_value} CACHE ${_type} "${_docstring}")
endif()
endmacro()
@GEANT4_PACKAGE_SETTINGS@