fix: parity-clib/examples/cpp/CMakeLists.txt (#10313)
* use of ${CMAKE_SHARED_LIBRARY_PREFIX} &
${CMAKE_SHARED_LIBRARY_SUFFIX} to support other operating systems.
			
			
This commit is contained in:
		
							parent
							
								
									83bcb819da
								
							
						
					
					
						commit
						6fa4b2dec5
					
				@ -15,4 +15,4 @@ ExternalProject_Add(
 | 
			
		||||
    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/${CMAKE_SHARED_LIBRARY_PREFIX}parity${CMAKE_SHARED_LIBRARY_SUFFIX}")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user