Commit 3f86b459 authored by René Paris's avatar René Paris Committed by Reinhard Biegel
Browse files

fix(CMake): Remove static libs from list of runtime deps

Newer versions of cmake are more restrictive when resolving runtime
dependencies and fail if a static library shall be resolved. This fix
prevents static libraries from registering to the list of targets used
by `install_deps.cmake`.

Closes
#113

Signed-off-by: René Paris's avatarRene Paris <rene.paris@in-tech.com>
parent 2b309804
......@@ -183,10 +183,9 @@ function(add_openpass_target)
else()
install(TARGETS ${PARSED_ARG_NAME} LIBRARY DESTINATION "${DESTDIR}")
endif()
add_to_global_target_list(lib_target_list ${PARSED_ARG_NAME})
endif()
add_to_global_target_list(lib_target_list ${PARSED_ARG_NAME})
if(OPENPASS_ADJUST_OUTPUT)
openpass_adjust_output_dir(${PARSED_ARG_NAME} ${DESTDIR})
endif()
......
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