Skip to content

Commit

Permalink
Close #92: Update CMake Version to 2.8.12.2+
Browse files Browse the repository at this point in the history
Require CMake 2.8.12.2+ for the whole project to
ensure the full build chain until a project that
is using the FindmallocMC.cmake module will pass.

Dependency increase in
  ComputationalRadiationPhysics/cmake-modules#8
  • Loading branch information
ax3l committed Jul 29, 2015
1 parent bb96ed9 commit 3eb9205
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project(mallocMC)
cmake_minimum_required(VERSION 2.8.5)
cmake_minimum_required(VERSION 2.8.12.2)

# helper for libs and packages
set(CMAKE_PREFIX_PATH "/usr/lib/x86_64-linux-gnu/"
Expand Down
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Install
- *Debian/Ubuntu:* `sudo apt-get install libboost-dev libboost-program-options-dev`
- *Arch Linux:* `sudo pacman -S boost`
- or download from [http://www.boost.org/](http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download)
- `CMake` >= 2.8.5
- `CMake` >= 2.8.12.2
- *Debian/Ubuntu:* `sudo apt-get install cmake file cmake-curses-gui`
- *Arch Linux:* `sudo pacman -S cmake`
- `git` >= 1.7.9.5
Expand Down Expand Up @@ -65,8 +65,8 @@ cmake -DCMAKE_MODULE_PATH=. --help-module FindmallocMC | less

and use the following lines in your `CMakeLists.txt`:
```cmake
# this example will require at least CMake 2.8.5
cmake_minimum_required(VERSION 2.8.5)
# this example will require at least CMake 2.8.12.2
cmake_minimum_required(VERSION 2.8.12.2)
# add path to FindmallocMC.cmake, e.g., in the directory in cmake/
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/)
Expand Down

0 comments on commit 3eb9205

Please sign in to comment.