Permalink
Browse files

Use a git submodule for cmake-modules

  • Loading branch information...
1 parent 9653da3 commit d4e0e687f5b51da21feca774c06b107ac7290172 @jedbrown committed Jun 9, 2011
Showing with 5 additions and 1 deletion.
  1. +3 −0 .gitmodules
  2. +1 −1 CMakeLists.txt
  3. +1 −0 cmake-modules
View
@@ -0,0 +1,3 @@
+[submodule "cmake-modules"]
+ path = cmake-modules
+ url = ../cmake-modules
View
@@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 2.6.3)
project (Dohp)
-list (APPEND CMAKE_MODULE_PATH "${Dohp_SOURCE_DIR}/CMake")
+list (APPEND CMAKE_MODULE_PATH "${Dohp_SOURCE_DIR}/cmake-modules")
# Normally PETSc is built with MPI, if not, use CC=mpicc, etc
find_package (PETSc REQUIRED)
Submodule cmake-modules added at c6fcae

0 comments on commit d4e0e68

Please sign in to comment.