biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb1ddaa
)
Made /usr/local/gromacs default installation path in cmake too
author
Erik Lindahl
<lindahl@csbm02.cbr.su.se>
Thu, 26 Aug 2010 08:28:52 +0000
(10:28 +0200)
committer
Erik Lindahl
<lindahl@csbm02.cbr.su.se>
Thu, 26 Aug 2010 08:28:52 +0000
(10:28 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 96e4f54f1398fd7cb451ef73073dcb7dfc3eb892..888901a2b727544f849201af5fc2fbb8eb2dfbf9 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-11,6
+11,10
@@
set(SOVERSION 6)
# Cmake modules/macros are in a subdirectory to keep this file cleaner
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+if(NOT CMAKE_INSTALL_PREFIX)
+ set(CMAKE_INSTALL_PREFIX "/usr/local/gromacs" CACHE STRING "" FORCE)
+endif()
+
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif(NOT CMAKE_BUILD_TYPE)