Commit 367725d6 authored by Petr Špaček's avatar Petr Špaček

Merge branch 'cznic-cmake' into 'master'

cmake: Replace deprecated get_target_property()

See merge request !1
parents 6c55b745 4f041082
......@@ -23,9 +23,4 @@ set_target_properties(
${LIBRARY_SOVERSION}
)
# This needs to be at the end
if (POLICY CMP0026)
cmake_policy(SET CMP0026 OLD)
endif()
get_target_property(SWRAP_LOCATION socket_wrapper LOCATION)
set(SOCKET_WRAPPER_LOCATION ${SWRAP_LOCATION} PARENT_SCOPE)
set(SOCKET_WRAPPER_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}socket_wrapper${CMAKE_SHARED_LIBRARY_SUFFIX}" PARENT_SCOPE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment