File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 # and the GNU Lesser General Public License along with libSplash.
2020 # If not, see <http://www.gnu.org/licenses/>.
2121
22- cmake_minimum_required (VERSION 2.8.5 )
22+ cmake_minimum_required (VERSION 3.3.0 )
2323
2424IF (VAMPIR_ENABLE)
2525 MESSAGE ("Building libSplash with VampirTrace support" )
@@ -39,9 +39,6 @@ PROJECT(libSplash)
3939SET (CMAKE_PREFIX_PATH "/usr/lib/x86_64-linux-gnu/" "$ENV{MPI_ROOT} "
4040 "$ENV{HDF5_ROOT} " )
4141
42- # own modules for find_packages
43- set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake/ ${CMAKE_MODULE_PATH} )
44-
4542#-------------------------------------------------------------------------------
4643
4744# install prefix
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Building libSplash **requires HDF5 in version 1.8.6** or higher.
1212For ** MPI based parallel output** configure HDF5 with ` --enable-parallel ` .
1313
1414To use the CMakeLists.txt file which comes with the source code, you must have
15- ** CMake version 2.8.5 ** or higher installed.
15+ ** CMake version 3.3.0 ** or higher installed.
1616
1717The splashtools and some tests also require an ** MPI 2.2** compatible MPI library,
1818e.g. ** OpenMPI 1.5.1** or higher.
@@ -72,8 +72,8 @@ cmake -DCMAKE_MODULE_PATH=. --help-module FindSplash | less
7272
7373and use the following lines in your ` CMakeLists.txt ` :
7474``` cmake
75- # this example will require at least CMake 2.8.5
76- cmake_minimum_required(VERSION 2.8.5 )
75+ # this example will require at least CMake 3.3.0
76+ cmake_minimum_required(VERSION 3.3.0 )
7777
7878# add path to FindSplash.cmake, e.g. in the directory in cmake/
7979set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/)
You can’t perform that action at this time.
0 commit comments