Skip to content

Commit

Permalink
Rebase + post-rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
color-typea committed Jun 12, 2023
1 parent 3790975 commit 41327cb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/libs/crypto3")

#Example directories
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/src")

if (BUILD_TESTS)
add_subdirectory(test)
endif()
2 changes: 1 addition & 1 deletion libs/crypto3
Submodule crypto3 updated 1 files
+0 −7 CMakeLists.txt
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

function(add_example example_target)
set(prefix ARG)
set(noValues "")
Expand Down Expand Up @@ -39,4 +41,4 @@ function(add_example example_target)
${Boost_LIBRARIES})
endfunction()

add_example(template SOURCES main.cpp INPUT main.inp)
add_example(zkllvm_circuit SOURCES main.cpp INPUT main.inp)
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <nil/crypto3/hash/algorithm/hash.hpp>
#include <nil/crypto3/hash/sha2.hpp>
#include "lib.hpp";
#include "lib.hpp"

using namespace nil::crypto3;

Expand Down

0 comments on commit 41327cb

Please sign in to comment.