Author: rinrab
Date: Fri Jul  5 18:51:17 2024
New Revision: 1918948

URL: http://svn.apache.org/viewvc?rev=1918948&view=rev
Log:
On the 'cmake' branch: Install Subversion includes.

The includes would be installed into PREFIX/include/subversion-1 directory,
same as in autoconf.

* CMakeLists.txt
  (install): Use `install(DIRECTORY ...)` command to install entire
   subversion/include directory recursively.

Modified:
    subversion/branches/cmake/CMakeLists.txt

Modified: subversion/branches/cmake/CMakeLists.txt
URL: 
http://svn.apache.org/viewvc/subversion/branches/cmake/CMakeLists.txt?rev=1918948&r1=1918947&r2=1918948&view=diff
==============================================================================
--- subversion/branches/cmake/CMakeLists.txt (original)
+++ subversion/branches/cmake/CMakeLists.txt Fri Jul  5 18:51:17 2024
@@ -180,6 +180,11 @@ endfunction()
 
 include_directories(PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
 
+install(
+  DIRECTORY "subversion/include/"
+  DESTINATION "include/subversion-1"
+)
+
 if (WIN32)
   add_compile_definitions(
     "alloca=_alloca"


Reply via email to