From: Wolf Vollprecht Date: Sat, 18 Apr 2020 20:20:08 +0000 (+0200) Subject: also add the export all symbols option X-Git-Tag: 0.7.12~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29a33e8b389ba0872b35bd47cb85f97e8065baa4;p=thirdparty%2Flibsolv.git also add the export all symbols option --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c3da33d..347bb0de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,9 @@ ENDIF (NOT PKGCONFIG_INSTALL_DIR) SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) INSTALL( FILES ${CMAKE_MODULE_PATH}/FindLibSolv.cmake DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules ) +# for shared libraries on windows (DLLs), we just export all symbols for now +SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + INCLUDE (${CMAKE_SOURCE_DIR}/VERSION.cmake) SET (have_system x)