author | koda |
Thu, 13 Jun 2013 22:55:33 +0200 | |
changeset 9226 | 1ac020f959e5 |
parent 9225 | d8d929f92633 |
child 9227 | c02e081ba481 |
--- a/cmake_modules/paths.cmake Thu Jun 13 22:50:18 2013 +0200 +++ b/cmake_modules/paths.cmake Thu Jun 13 22:55:33 2013 +0200 @@ -61,7 +61,7 @@ if(UNIX AND NOT APPLE) #make sure $ORIGIN is respected - append_linker_flag("-zorigin") + add_linker_flag("-zorigin") #apply RPATH settings to pascal and haskell executables add_flag_append(CMAKE_Pascal_FLAGS "-k-rpath '${CMAKE_INSTALL_RPATH_ESCAPED}'") list(APPEND haskell_flags "-optl" "-Wl,-rpath,'${CMAKE_INSTALL_RPATH_ESCAPED}'")