1 ###############################################################################
2 # Top contributors (to current version):
3 # Alex Ozdemir, Mathias Preiner
5 # This file is part of the cvc5 project.
7 # Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8 # in the top-level source directory and their institutional affiliations.
9 # All rights reserved. See the file COPYING in the top-level source
10 # directory for licensing information.
11 # #############################################################################
14 # Drat2Er_FOUND - system has Drat2Er lib
15 # Drat2Er_INCLUDE_DIR - the Drat2Er include directory
16 # Drat2Er_LIBRARIES - Libraries needed to use Drat2Er
19 find_path(Drat2Er_INCLUDE_DIR NAMES drat2er.h)
20 find_library(Drat2Er_LIBRARIES NAMES libdrat2er.a)
21 find_library(DratTrim_LIBRARIES NAMES libdrat-trim.a)
23 include(FindPackageHandleStandardArgs)
24 find_package_handle_standard_args(Drat2Er
26 Drat2Er_INCLUDE_DIR Drat2Er_LIBRARIES DratTrim_LIBRARIES)
28 mark_as_advanced(Drat2Er_INCLUDE_DIR Drat2Er_LIBRARIES DratTrim_LIBRARIES)
30 message(STATUS "Found Drat2Er libs: ${Drat2Er_LIBRARIES}")
32 if(DratTrim_LIBRARIES)
33 message(STATUS "Found DratTrim libs: ${DratTrim_LIBRARIES}")
34 list(APPEND Drat2Er_LIBRARIES ${DratTrim_LIBRARIES})