Skip to content

Commit

Permalink
Use system btor2tools if available
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoKobalamyne committed Aug 19, 2024
1 parent 9cbd826 commit bc6a6dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ if (WITH_COREIR)
endif()


if (NOT EXISTS "${PROJECT_SOURCE_DIR}/deps/btor2tools/src")
message(FATAL_ERROR "Missing btor2tools -- try running ./contrib/setup-btor2tools.sh")
endif()
# if (NOT EXISTS "${PROJECT_SOURCE_DIR}/deps/btor2tools/src")
# message(FATAL_ERROR "Missing btor2tools -- try running ./contrib/setup-btor2tools.sh")
# endif()

# Generate the SMV parser using Flex/Bison
BISON_TARGET(SMVParser ${PROJECT_SOURCE_DIR}/frontends/smvparser.y
Expand Down Expand Up @@ -276,7 +276,7 @@ if (WITH_COREIR)
endif()

target_link_libraries(pono-lib PUBLIC "${SMT_SWITCH_DIR}/local/lib/libsmt-switch.a")
target_link_libraries(pono-lib PUBLIC "${PROJECT_SOURCE_DIR}/deps/btor2tools/build/lib/libbtor2parser.a")
target_link_libraries(pono-lib PUBLIC btor2parser)
target_link_libraries(pono-lib PUBLIC "${GMPXX_LIBRARIES}")
target_link_libraries(pono-lib PUBLIC "${GMP_LIBRARIES}")
target_link_libraries(pono-lib PUBLIC pthread)
Expand Down

0 comments on commit bc6a6dd

Please sign in to comment.