Make sure compilation is not tested.

This is broken for DUNE >= 2.8 and dune module that use  OPM.
This commit is contained in:
Markus Blatt 2022-11-01 21:54:19 +01:00
parent ed757caa8b
commit 87a4017e06

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