New C++ Api: Clean up usage of internal types in Term. (#6054)
[cvc5.git] / cmake / FindLFSC.cmake
1 #####################
2 ## FindLFSC.cmake
3 ## Top contributors (to current version):
4 ## Mathias Preiner, Andres Noetzli
5 ## This file is part of the CVC4 project.
6 ## Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
7 ## in the top-level source directory and their institutional affiliations.
8 ## All rights reserved. See the file COPYING in the top-level source
9 ## directory for licensing information.
10 ##
11 # Find LFSC
12 # LFSC_FOUND - system has LFSC lib
13 # LFSC_INCLUDE_DIR - the LFSC include directory
14 # LFSC_LIBRARIES - Libraries needed to use LFSC
15
16 find_program(LFSC_BINARY NAMES lfscc)
17 find_path(LFSC_INCLUDE_DIR NAMES lfscc.h)
18 find_library(LFSC_LIBRARIES NAMES lfscc)
19
20 include(FindPackageHandleStandardArgs)
21 find_package_handle_standard_args(LFSC
22 DEFAULT_MSG
23 LFSC_BINARY LFSC_INCLUDE_DIR LFSC_LIBRARIES)
24
25 mark_as_advanced(LFSC_BINARY LFSC_INCLUDE_DIR LFSC_LIBRARIES)
26 if(LFSC_FOUND)
27 message(STATUS "Found LFSC include dir: ${LFSC_INCLUDE_DIR}")
28 message(STATUS "Found LFSC libs: ${LFSC_LIBRARIES}")
29 endif()