Warning, /geant4/cmake/Modules/G4MotifShim.cmake is written in an unsupported language. File is not indexed.
0001 # - G4MotifShim
0002 #
0003 # Geant4's Geant4Config.cmake file aims to support CMake 3.8 and newer
0004 # The Motif dependency is located through CMake's builtin FindMotif
0005 # This module does not support imported targets as of CMake 3.16, so
0006 # provide a target Motif::Xm
0007 if(Motif_FOUND)
0008 if(NOT TARGET Motif::Xm)
0009 add_library(Motif::Xm UNKNOWN IMPORTED)
0010 set_target_properties(Motif::Xm PROPERTIES
0011 INTERFACE_INCLUDE_DIRECTORIES "${MOTIF_INCLUDE_DIR}"
0012 IMPORTED_LOCATION "${MOTIF_LIBRARIES}"
0013 )
0014 endif()
0015 endif()