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

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
Author: ivan
Date: Sat May 17 12:07:40 2025
New Revision: 1925623

URL: http://svn.apache.org/viewvc?rev=1925623&view=rev
Log:
CMakeLists.txt: Use MODULE instead of SHARED for DSO 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=1925623&r1=1925622&r2=1925623&view=diff
==============================================================================
--- apr/apr/trunk/CMakeLists.txt (original)
+++ apr/apr/trunk/CMakeLists.txt Sat May 17 12:07:40 2025
@@ -498,7 +498,7 @@ endif()
 
 macro(ADD_APR_MODULE name dllname sources libraries)
   if(APR_MODULAR_DSO)
-    add_library(${name} SHARED ${sources})
+    add_library(${name} MODULE ${sources})
     list(APPEND install_modules ${name})
     list(APPEND install_bin_pdb $<TARGET_PDB_FILE:${name}>)
 
@@ -755,7 +755,6 @@ install(FILES "${CMAKE_CURRENT_BINARY_DI
 
 # For DSO modules, install only binaries
 install(TARGETS ${install_modules}
-        COMPONENT RUNTIME
         DESTINATION ${APR_INSTALL_BIN_DIR})
 
 if(INSTALL_PDB)
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.