Merge pull request #3214 from atgeirr/backport-of-pr-3205

Make sure compilation is not tested.
This commit is contained in:
Atgeirr Flø Rasmussen 2022-11-07 16:41:44 +01:00 committed by GitHub
commit 5babdb413c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ macro (find_opm_package module deps header lib defs prog conf)
# without config.h
config_cmd_line (${module}_CMD_CONFIG ${module}_CONFIG_VARS)
if(NOT "${prog}" STREQUAL "")
if(prog) # always evaluates to false, but makes tests with DUNE 2.6-2.7 work
# check that we can compile a small test-program
include (CMakePushCheckState)
cmake_push_check_state ()