Commit 5a97523b authored by Lynn Garren's avatar Lynn Garren
Browse files

set policy for CMP0042

parent a71be94a
......@@ -33,6 +33,12 @@ cmake_minimum_required(VERSION 2.6)
project(CLHEP)
set( VERSION 2.2.0.7 )
# If Policy CMP0042 exists, use OLD to prefer the use of install names
# instead of the new @rpath default.
if(POLICY CMP0042)
cmake_policy(SET CMP0042 OLD)
endif()
set(CMAKE_MODULE_PATH
${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules
${CMAKE_MODULE_PATH}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment