Skip to content

Commit

Permalink
Refs #10840. add missing if around INSTALL_RPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsteve committed Jan 23, 2015
1 parent c11ba62 commit 7c48917
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Code/Mantid/Framework/CurveFitting/CMakeLists.txt
Expand Up @@ -317,8 +317,12 @@ enable_precompiled_headers( inc/MantidCurveFitting/PrecompiledHeader.h SRC_FILES
add_library ( CurveFitting ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( CurveFitting PROPERTIES OUTPUT_NAME MantidCurveFitting
COMPILE_DEFINITIONS IN_MANTID_CURVEFITTING
INSTALL_RPATH "@loader_path/../Contents/MacOS/")
COMPILE_DEFINITIONS IN_MANTID_CURVEFITTING )

if (OSX_VERSION VERSION_GREATER 10.8)
set_target_properties ( CurveFitting PROPERTIES INSTALL_RPATH "@loader_path/../Contents/MacOS")
endif ()

# Add to the 'Framework' group in VS
set_property ( TARGET CurveFitting PROPERTY FOLDER "MantidFramework" )

Expand Down

0 comments on commit 7c48917

Please sign in to comment.