Problem 1934 - FindCLHEP is obsolete; CLHEP follows cmake standard
Summary: FindCLHEP is obsolete; CLHEP follows cmake standard
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 10.3
Hardware: All All
: P4 minor
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2017-01-16 14:54 CET by Ben Morgan
Modified: 2017-02-27 14:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Ben Morgan 2017-01-16 14:54:08 CET
Importing from Github PR:

https://github.com/Geant4/geant4/pull/1

The FindCLHEP module can be removed due to CLHEP having a CLHEPConfig.cmake file.

However, this is only "feature complete" (i.e. imported targets provide correct usage requirements) from CLHEP 2.3.3.0. Patches to Geant4 versions that required CLHEP < 2.3.3.0 will require workarounds.
Comment 1 Ben Morgan 2017-02-27 14:17:09 CET
Fixed in cmake-V10-03-11.

This only resolves the issue for CLHEP 2.3.3.0 and higher as noted earlier.