[Orxonox-commit 4] r2719 - trunk/cmake
rgrieder at orxonox.net
rgrieder at orxonox.net
Sun Mar 1 17:13:57 CET 2009
Author: rgrieder
Date: 2009-03-01 17:13:56 +0100 (Sun, 01 Mar 2009)
New Revision: 2719
Modified:
trunk/cmake/BuildConfig.cmake
Log:
Copyable installation could not find the shared libraries on Unix. Installing them to bin/
Modified: trunk/cmake/BuildConfig.cmake
===================================================================
--- trunk/cmake/BuildConfig.cmake 2009-03-01 14:35:23 UTC (rev 2718)
+++ trunk/cmake/BuildConfig.cmake 2009-03-01 16:13:56 UTC (rev 2719)
@@ -69,9 +69,7 @@
MARK_AS_ADVANCED(CMAKE_BUILD_TYPE)
ENDIF()
-OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)")
-
################# OGRE Plugins ##################
# More plugins: Plugin_BSPSceneManager, Plugin_OctreeSceneManager
@@ -91,6 +89,8 @@
################ Compiler Config ################
+OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)")
+
INCLUDE(FlagUtilities)
# Configure the compiler specific build options
@@ -140,7 +140,8 @@
# Note the relative paths. They will be resolved at runtime.
# For CMake operations CMAKE_INSTALL_PREFIX is always appended.
SET(ORXONOX_RUNTIME_INSTALL_PATH ${DEFAULT_RUNTIME_PATH})
- SET(ORXONOX_LIBRARY_INSTALL_PATH ${DEFAULT_LIBRARY_PATH})
+ # Also use runtime directory to have the libraries found when executing from anywhere
+ SET(ORXONOX_LIBRARY_INSTALL_PATH ${DEFAULT_RUNTIME_PATH})
SET(ORXONOX_ARCHIVE_INSTALL_PATH ${DEFAULT_ARCHIVE_PATH})
SET(ORXONOX_DOC_INSTALL_PATH ${DEFAULT_DOC_PATH})
SET(ORXONOX_MEDIA_INSTALL_PATH ${DEFAULT_MEDIA_PATH})
More information about the Orxonox-commit
mailing list