|
From: Yoda-JM <yo...@us...> - 2009-11-17 11:52:29
|
Module: performous
Branch: master
Commit: 4536b9366cd590a018366df21db56acaf61c7aa4
Author: Vincent Le Ligeour <yo...@us...>
Date: Tue Nov 17 12:51:44 2009 +0100
Added LIB_SUFFIX to install rpath
---
game/CMakeLists.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt
index 1ea641a..462e0ce 100644
--- a/game/CMakeLists.txt
+++ b/game/CMakeLists.txt
@@ -40,9 +40,9 @@ target_link_libraries(performous da ${LIBS})
# Store library paths in executable
if(APPLE)
- set_target_properties(performous PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE INSTALL_RPATH @loader_path/../lib)
+ set_target_properties(performous PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE INSTALL_RPATH @loader_path/../lib${LIB_SUFFIX})
else()
- set_target_properties(performous PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE INSTALL_RPATH \$ORIGIN/../lib)
+ set_target_properties(performous PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE INSTALL_RPATH \$ORIGIN/../lib${LIB_SUFFIX})
endif()
# Generate config.hh
|