Skip to content

Commit

Permalink
use blueprint as module
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Jul 5, 2024
1 parent 0dff0cb commit f96d677
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ include(CircuitCompile)
find_package(Python3 3.6 REQUIRED COMPONENTS Interpreter)

find_package(crypto3 REQUIRED)
find_package(crypto3_blueprint REQUIRED)
find_package(Boost COMPONENTS REQUIRED filesystem log log_setup program_options thread system random unit_test_framework timer)

if(BUILD_WITH_BOOST_STATIC_LIBS)
Expand Down
2 changes: 1 addition & 1 deletion bin/assigner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ target_link_libraries(${CURRENT_PROJECT_NAME}
LLVMCore
LLVMSupport
crypto3::all
crypto3::blueprint
${Boost_LIBRARIES})

target_include_directories(${CURRENT_PROJECT_NAME} PUBLIC
Expand All @@ -50,7 +51,6 @@ target_include_directories(${CURRENT_PROJECT_NAME} PUBLIC
${CMAKE_SOURCE_DIR}/libs/circifier/llvm/include
${CMAKE_SOURCE_DIR}/libs/circifier/utils/bazel/llvm-project-overlay/llvm/include
${CMAKE_SOURCE_DIR}/libs/assigner/include
${CMAKE_SOURCE_DIR}/libs/blueprint/include
${CMAKE_BINARY_DIR}/libs/circifier/llvm/include
${Boost_INCLUDE_DIRS})

Expand Down
2 changes: 1 addition & 1 deletion bin/recursive_gen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ set_target_properties(${CURRENT_PROJECT_NAME} PROPERTIES

target_link_libraries(${CURRENT_PROJECT_NAME}
crypto3::all
crypto3::blueprint
${Boost_LIBRARIES})

target_include_directories(${CURRENT_PROJECT_NAME} PUBLIC
Expand All @@ -45,7 +46,6 @@ target_include_directories(${CURRENT_PROJECT_NAME} PUBLIC
${CMAKE_SOURCE_DIR}/libs/circifier/llvm/include
${CMAKE_SOURCE_DIR}/libs/circifier/utils/bazel/llvm-project-overlay/llvm/include
${CMAKE_SOURCE_DIR}/libs/assigner/include
${CMAKE_SOURCE_DIR}/libs/blueprint/include
${CMAKE_SOURCE_DIR}/libs/transpiler/include
${CMAKE_BINARY_DIR}/libs/circifier/llvm/include

Expand Down
2 changes: 1 addition & 1 deletion bin/transpiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ set_target_properties(${CURRENT_PROJECT_NAME} PROPERTIES

target_link_libraries(${CURRENT_PROJECT_NAME}
crypto3::all
crypto3::blueprint
${Boost_LIBRARIES})

target_include_directories(${CURRENT_PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
${CMAKE_SOURCE_DIR}/libs/circifier/llvm/include
${CMAKE_SOURCE_DIR}/libs/assigner/include
${CMAKE_SOURCE_DIR}/libs/blueprint/include
${CMAKE_SOURCE_DIR}/libs/transpiler/include
${CMAKE_SOURCE_DIR}/libs/circifier/utils/bazel/llvm-project-overlay/llvm/include
${Boost_INCLUDE_DIRS})
Expand Down

0 comments on commit f96d677

Please sign in to comment.