File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -278,16 +278,16 @@ if(PYBIND11_INSTALL)
278
278
279
279
# pkg-config support
280
280
if (NOT prefix_for_pc_file )
281
- if (IS_ABSOLUTE "${CMAKE_INSTALL_DATAROOTDIR} " )
281
+ if (IS_ABSOLUTE "${CMAKE_INSTALL_DATAROOTDIR} " )
282
282
set (prefix_for_pc_file "${CMAKE_INSTALL_PREFIX} " )
283
- else ()
283
+ else ()
284
284
set (pc_datarootdir "${CMAKE_INSTALL_DATAROOTDIR} " )
285
285
set (prefix_for_pc_file "\$ {pcfiledir}/.." )
286
- while (pc_datarootdir )
286
+ while (pc_datarootdir )
287
287
get_filename_component (pc_datarootdir "${pc_datarootdir} " DIRECTORY )
288
288
string (APPEND prefix_for_pc_file "/.." )
289
- endwhile ()
290
- endif ()
289
+ endwhile ()
290
+ endif ()
291
291
endif ()
292
292
join_paths (includedir_for_pc_file "\$ {prefix}" "${CMAKE_INSTALL_INCLUDEDIR} " )
293
293
configure_file ("${CMAKE_CURRENT_SOURCE_DIR} /tools/pybind11.pc.in"
You can’t perform that action at this time.
0 commit comments