diff options
| author | KingPin <none@none> | 2009-01-18 09:46:15 -0500 |
|---|---|---|
| committer | KingPin <none@none> | 2009-01-18 09:46:15 -0500 |
| commit | 0dd0a1cb6f4ad375ebb1ec5b4a1512ef380f26b3 (patch) | |
| tree | 22ede3335438605375fa922bae6b21210a23a017 | |
| parent | 2c119369baddfc41470355ad2435eac451ecdc63 (diff) | |
More fixes for Cmake by raczman
--HG--
branch : trunk
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a7a4b8a0544..35e518476d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,6 +156,12 @@ ${CMAKE_CURRENT_SOURCE_DIR}/.. ${ACE_INCLUDE_DIR} ) +if(PREFIX) +message("* Running ldconfig") +file(WRITE /etc/ld.so.conf.d/trinitycore.conf "${CMAKE_INSTALL_PREFIX}/lib") +execute_process(COMMAND ldconfig) +endif(PREFIX) + add_subdirectory(dep) add_subdirectory(doc) add_subdirectory(src) |
