svn commit: r1920441 - /apr/apr/trunk/CMakeLists.txt

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
Author: ivan
Date: Tue Sep  3 16:11:44 2024
New Revision: 1920441

URL: http://svn.apache.org/viewvc?rev=1920441&view=rev
Log:
CMake: Remove /exports link flag for modules, because modules use
APR_MODULE_DECLARE_DATA to export modules.

Modified:
    apr/apr/trunk/CMakeLists.txt

Modified: apr/apr/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CMakeLists.txt?rev=1920441&r1=1920440&r2=1920441&view=diff
==============================================================================
--- apr/apr/trunk/CMakeLists.txt (original)
+++ apr/apr/trunk/CMakeLists.txt Tue Sep  3 16:11:44 2024
@@ -594,7 +594,6 @@ IF(APR_MODULAR_DSO AND APU_HAVE_ODBC)
   LIST(APPEND install_bin_pdb $<TARGET_PDB_FILE:apr_dbd_odbc-2>)
   LIST(APPEND dbd_drivers odbc)
   TARGET_LINK_LIBRARIES(apr_dbd_odbc-2 ${apr_libname} ${APR_SYSTEM_LIBS} odbc32 odbccp32)
-  SET_PROPERTY(TARGET apr_dbd_odbc-2 APPEND PROPERTY LINK_FLAGS /export:apr_dbd_odbc_driver)
   TARGET_COMPILE_DEFINITIONS(apr_dbd_odbc-2
                              PRIVATE "DLL_NAME=apr_dbd_odbc")
 ENDIF()
@@ -605,7 +604,6 @@ IF(APR_MODULAR_DSO AND APU_HAVE_SQLITE3)
   LIST(APPEND install_bin_pdb $<TARGET_PDB_FILE:apr_dbd_sqlite3-2>)
   LIST(APPEND dbd_drivers sqlite3)
   TARGET_LINK_LIBRARIES(apr_dbd_sqlite3-2 ${apr_libname} ${APR_SYSTEM_LIBS} ${SQLite3_LIBRARIES})
-  SET_PROPERTY(TARGET apr_dbd_sqlite3-2 APPEND PROPERTY LINK_FLAGS /export:apr_dbd_sqlite3_driver)
   SET_TARGET_PROPERTIES(apr_dbd_sqlite3-2 PROPERTIES INCLUDE_DIRECTORIES "${SQLite3_INCLUDE_DIRS}")
   TARGET_COMPILE_DEFINITIONS(apr_dbd_sqlite3-2
                              PRIVATE "DLL_NAME=apr_dbd_sqlite3")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.