File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ or `cmake-gui`:
125
125
Directory in which to install the compiled libraries. Can be relative to
126
126
` CMAKE_INSTALL_PREFIX ` . Default ` lib ` .
127
127
128
+ * [ ` CMAKE_INSTALL_DATADIR ` ] ( https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html )
129
+
130
+ Directory in which to install the data files (e.g. debugger visualizers).
131
+ Can be relative to ` CMAKE_INSTALL_PREFIX ` . Default ` share ` .
132
+
128
133
* ` BOOST_INSTALL_CMAKEDIR `
129
134
130
135
Directory in which to install the CMake configuration files. Default ` lib/cmake ` .
@@ -150,9 +155,10 @@ or `cmake-gui`:
150
155
* ` BOOST_INSTALL_INCLUDE_SUBDIR `
151
156
152
157
When ` BOOST_INSTALL_LAYOUT ` is ` versioned ` , headers are installed in a
153
- subdirectory of ` CMAKE_INSTALL_INCLUDEDIR ` (to enable several Boost releases
154
- being installed at the same time.) The default for release e.g. 1.81 is
155
- ` /boost-1_81 ` .)
158
+ subdirectory of ` CMAKE_INSTALL_INCLUDEDIR ` and data files are installed
159
+ in a subdirectory of ` CMAKE_INSTALL_DATADIR ` (to enable several Boost
160
+ releases being installed at the same time.) The default for release e.g.
161
+ 1.81 is ` /boost-1_81 ` .)
156
162
157
163
* ` BOOST_RUNTIME_LINK `
158
164
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ if(CMAKE_SOURCE_DIR STREQUAL "${BOOST_SUPERPROJECT_SOURCE_DIR}")
30
30
set_property (CACHE BOOST_INSTALL_LAYOUT PROPERTY STRINGS versioned tagged system )
31
31
32
32
set (BOOST_INSTALL_CMAKEDIR "${__boost_default_cmakedir} " CACHE STRING "Installation directory for CMake configuration files" )
33
- set (BOOST_INSTALL_INCLUDE_SUBDIR "${__boost_default_include_subdir} " CACHE STRING "Header subdirectory when layout is versioned" )
33
+ set (BOOST_INSTALL_INCLUDE_SUBDIR "${__boost_default_include_subdir} " CACHE STRING "Header and data subdirectory when layout is versioned" )
34
34
35
35
else ()
36
36
@@ -52,6 +52,7 @@ endif()
52
52
53
53
if (BOOST_INSTALL_LAYOUT STREQUAL "versioned" )
54
54
string (APPEND CMAKE_INSTALL_INCLUDEDIR "${BOOST_INSTALL_INCLUDE_SUBDIR} " )
55
+ string (APPEND CMAKE_INSTALL_DATADIR "${BOOST_INSTALL_INCLUDE_SUBDIR} " )
55
56
endif ()
56
57
57
58
#
You can’t perform that action at this time.
0 commit comments