[vlmc-devel] CMake: Change install prefix to /usr/local
Rohit Yadav
git at videolan.org
Wed Jun 15 12:27:10 CEST 2011
vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Wed Jun 15 16:14:34 2011 +0530| [9a0b8668bd55c15046c51eb4bd3e01c0355d8061] | committer: Rohit Yadav
CMake: Change install prefix to /usr/local
Fix CPACK_INSTALL_PREFIX
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=9a0b8668bd55c15046c51eb4bd3e01c0355d8061
---
CMakeLists.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 720f9a1..fb49c13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,7 +79,8 @@ SET(CONTRIBS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/contribs)
IF (UNIX)
SET(WITH_PROFILING FALSE CACHE BOOL "Build with profiling support" )
- SET(CMAKE_INSTALL_PREFIX /usr)
+ SET(CMAKE_INSTALL_PREFIX /usr/local)
+ SET(CPACK_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
ENDIF(UNIX)
SET(WITH_GUI TRUE CACHE BOOL "Enable the VLMC's GUI")
More information about the Vlmc-devel
mailing list