Merge pull request #388 from akva2/shared_check_commits

changed: use common check-commits target from opm-cmake
This commit is contained in:
Bård Skaflestad 2015-05-28 15:35:06 +02:00
commit 83c8912933

View File

@ -100,12 +100,6 @@ endmacro (tests_hook)
# all setup common to the OPM library modules is done here
include (OpmLibMain)
add_custom_target(check-commits
COMMAND ${CMAKE_COMMAND}
-DPROJECT_SOURCE_DIR=${PROJECT_SOURCE_DIR}
-DCMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}
-P ${PROJECT_SOURCE_DIR}/cmake/Scripts/CheckCommits.cmake)
# download Eigen if user doesn't have the correct version
if (NOT EIGEN3_FOUND)
message (STATUS "Downloading Eigen3")