CMake: remove duplicate install for builtin libraries

This commit is contained in:
Maarten Bent
2021-10-17 11:50:34 +02:00
parent fbb2ec85ef
commit 6d6567d41c

View File

@@ -630,14 +630,6 @@ function(wx_add_thirdparty_library var_name lib_name help_str)
endif()
endif()
if(${var_name} STREQUAL "builtin" AND NOT wxBUILD_SHARED)
# Only install if we build as static libraries
wx_install(TARGETS ${target_name}
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
endif()
set(wxTHIRD_PARTY_LIBRARIES ${wxTHIRD_PARTY_LIBRARIES} ${var_name} "${help_str}" PARENT_SCOPE)
endfunction()