Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fix path to parity.h (#9274)
Browse files Browse the repository at this point in the history
* Fix path to parity.h

* Fix other paths as well
  • Loading branch information
tomaka authored and andresilva committed Oct 9, 2018
1 parent 658e982 commit 8d470d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parity-clib-examples/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.5)
include(ExternalProject)

include_directories("${CMAKE_SOURCE_DIR}/../parity-clib")
include_directories("${CMAKE_SOURCE_DIR}/../../parity-clib")

add_executable(parity-example main.cpp)

Expand All @@ -11,9 +11,9 @@ ExternalProject_Add(
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
COMMAND cargo build -p parity-clib # Note: use --release in a real project
BINARY_DIR "${CMAKE_SOURCE_DIR}/../target"
BINARY_DIR "${CMAKE_SOURCE_DIR}/../../target"
INSTALL_COMMAND ""
LOG_BUILD ON)

add_dependencies(parity-example libparity)
target_link_libraries(parity-example "${CMAKE_SOURCE_DIR}/../target/debug/libparity.so")
target_link_libraries(parity-example "${CMAKE_SOURCE_DIR}/../../target/debug/libparity.so")

0 comments on commit 8d470d0

Please sign in to comment.