mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-07-29 18:57:56 -05:00
add check-commits target
This commit is contained in:
committed by
Bård Skaflestad
parent
6e52a7bc3b
commit
5dca993b69
@@ -73,6 +73,12 @@ 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")
|
||||
|
||||
Reference in New Issue
Block a user