diff --git a/CMakeLists.txt b/CMakeLists.txt index 2756513b..79d7d8a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/bin/assigner/CMakeLists.txt b/bin/assigner/CMakeLists.txt index 2b6bc888..0613c188 100644 --- a/bin/assigner/CMakeLists.txt +++ b/bin/assigner/CMakeLists.txt @@ -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 @@ -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}) diff --git a/bin/recursive_gen/CMakeLists.txt b/bin/recursive_gen/CMakeLists.txt index 0ca6c0bc..8881f46f 100644 --- a/bin/recursive_gen/CMakeLists.txt +++ b/bin/recursive_gen/CMakeLists.txt @@ -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 @@ -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 diff --git a/bin/transpiler/CMakeLists.txt b/bin/transpiler/CMakeLists.txt index 22176bde..d5878265 100644 --- a/bin/transpiler/CMakeLists.txt +++ b/bin/transpiler/CMakeLists.txt @@ -39,6 +39,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 @@ -46,7 +47,6 @@ target_include_directories(${CURRENT_PROJECT_NAME} PUBLIC $ ${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})