From 28a8f51964af5b439183f45fbd42fe13a17f74dc Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Sun, 19 Apr 2020 12:43:20 -0400 Subject: [PATCH] Do not install static libraries Development libraries must be shared libraries. Internal libraries can be static libraries. Do not install internal libraries. This effects libargsfilter.a which is only used by fpgainfo Signed-off-by: Tom Rix --- cmake/modules/OPAECompiler.cmake | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cmake/modules/OPAECompiler.cmake b/cmake/modules/OPAECompiler.cmake index dfbc553..4aa05cc 100644 --- a/opae-libs/cmake/modules/OPAECompiler.cmake +++ b/opae-libs/cmake/modules/OPAECompiler.cmake @@ -346,15 +346,4 @@ function(opae_add_static_library) opae_coverage_build(TARGET ${OPAE_ADD_STATIC_LIBRARY_TARGET} SOURCE ${OPAE_ADD_STATIC_LIBRARY_SOURCE}) - if(OPAE_ADD_STATIC_LIBRARY_COMPONENT) - if(OPAE_ADD_STATIC_LIBRARY_DESTINATION) - set(dest ${OPAE_ADD_STATIC_LIBRARY_DESTINATION}) - else(OPAE_ADD_STATIC_LIBRARY_DESTINATION) - set(dest ${OPAE_LIB_INSTALL_DIR}) - endif(OPAE_ADD_STATIC_LIBRARY_DESTINATION) - - install(TARGETS ${OPAE_ADD_STATIC_LIBRARY_TARGET} - ARCHIVE DESTINATION ${dest} - COMPONENT ${OPAE_ADD_STATIC_LIBRARY_COMPONENT}) - endif(OPAE_ADD_STATIC_LIBRARY_COMPONENT) endfunction() -- 2.18.1