File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
SuiteSparse_config/cmake_modules Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,9 @@ if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
166
166
endif ( )
167
167
endif ( )
168
168
169
+ set ( SUITESPARSE_INCLUDEDIR_POSTFIX "suitesparse" CACHE STRING
170
+ "Postfix for installation target of header from SuiteSparse (default: \" suitesparse\" )" )
171
+
169
172
if ( LOCAL_INSTALL )
170
173
if ( INSIDE_SUITESPARSE )
171
174
# ../lib and ../include exist: the package is inside SuiteSparse.
@@ -179,11 +182,11 @@ if ( LOCAL_INSTALL )
179
182
endif ( )
180
183
endif ( )
181
184
set ( SUITESPARSE_LIBDIR ${SUITESPARSE_LOCAL_PREFIX} /lib )
182
- set ( SUITESPARSE_INCLUDEDIR ${SUITESPARSE_LOCAL_PREFIX} /include )
185
+ set ( SUITESPARSE_INCLUDEDIR ${SUITESPARSE_LOCAL_PREFIX} /include/${SUITESPARSE_INCLUDEDIR_POSTFIX} )
183
186
set ( SUITESPARSE_BINDIR ${SUITESPARSE_LOCAL_PREFIX} /bin )
184
187
else ( )
185
188
set ( SUITESPARSE_LIBDIR ${CMAKE_INSTALL_LIBDIR} )
186
- set ( SUITESPARSE_INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR} )
189
+ set ( SUITESPARSE_INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR} /${SUITESPARSE_INCLUDEDIR_POSTFIX} )
187
190
set ( SUITESPARSE_BINDIR ${CMAKE_INSTALL_BINDIR} )
188
191
endif ( )
189
192
You can’t perform that action at this time.
0 commit comments