changed: use common check-commits target from opm-cmake

This commit is contained in:
Arne Morten Kvarving
2015-05-28 10:42:11 +02:00
parent 3abb3497a5
commit f7722c62ae

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")