Skip to content

Commit

Permalink
remove finding boost, as already called in zkLLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Jun 21, 2024
1 parent e809fe0 commit ddd6e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ endif()

cm_project(assigner WORKSPACE_NAME ${CMAKE_WORKSPACE_NAME} LANGUAGES C CXX)

if(NOT Boost_FOUND AND NOT CMAKE_CROSSCOMPILING)
find_package(Boost COMPONENTS REQUIRED filesystem log log_setup program_options thread system)
endif()

cm_find_package(CM)
include(CMDeploy)
include(FindPkgConfig)
Expand Down Expand Up @@ -66,6 +62,8 @@ target_include_directories(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} INTER

${Boost_INCLUDE_DIRS})

message("Boost_LIBRARIES=${Boost_LIBRARIES}")

target_link_libraries(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME} INTERFACE
LLVMIRReader
LLVMCore
Expand Down
2 changes: 0 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

include(CMTest)

cm_find_package(Boost REQUIRED COMPONENTS log log_setup random unit_test_framework)

cm_test_link_libraries(${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME}

crypto3::all
Expand Down

0 comments on commit ddd6e5a

Please sign in to comment.