Skip to content

Commit

Permalink
Fix RPATHS for area-native and area libs on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
jobermayr authored and wwmayer committed Feb 10, 2017
1 parent b77188e commit 7ec37c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cMake/FreeCadMacros.cmake
Expand Up @@ -236,8 +236,8 @@ MACRO(SET_BIN_DIR ProjectName OutputName)
if(WIN32)
set_target_properties(${ProjectName} PROPERTIES DEBUG_OUTPUT_NAME ${OutputName}_d)
else(WIN32)
# FreeCADBase, SMDS, Driver, MEFISTO2 and area libs don't depend on parts from CMAKE_INSTALL_LIBDIR
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2|area)$")
# FreeCADBase, SMDS, Driver, MEFISTO2 and area-native libs don't depend on parts from CMAKE_INSTALL_LIBDIR
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2|area-native)$")
if(${ARGC} STREQUAL 4)
set_target_properties(${ProjectName} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
else(${ARGC} STREQUAL 4)
Expand Down

0 comments on commit 7ec37c9

Please sign in to comment.