Fix path to parity.h (#9274)
* Fix path to parity.h * Fix other paths as well
This commit is contained in:
		
							parent
							
								
									90d7823acb
								
							
						
					
					
						commit
						0cfc6bf2a6
					
				@ -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)
 | 
			
		||||
 | 
			
		||||
@ -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")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user