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:
Alexander Arlt 2019-02-08 10:01:29 +01:00 committed by Andronik Ordian
parent 83bcb819da
commit 6fa4b2dec5

View File

@ -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}")