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)
278278
279279 # pkg-config support
280280 if (NOT prefix_for_pc_file)
281- if (IS_ABSOLUTE "${CMAKE_INSTALL_DATAROOTDIR} " )
281+ if (IS_ABSOLUTE "${CMAKE_INSTALL_DATAROOTDIR} " )
282282 set (prefix_for_pc_file "${CMAKE_INSTALL_PREFIX} " )
283- else ()
283+ else ()
284284 set (pc_datarootdir "${CMAKE_INSTALL_DATAROOTDIR} " )
285285 set (prefix_for_pc_file "\$ {pcfiledir}/.." )
286- while (pc_datarootdir)
286+ while (pc_datarootdir)
287287 get_filename_component (pc_datarootdir "${pc_datarootdir} " DIRECTORY )
288288 string (APPEND prefix_for_pc_file "/.." )
289- endwhile ()
290- endif ()
289+ endwhile ()
290+ endif ()
291291 endif ()
292292 join_paths(includedir_for_pc_file "\$ {prefix}" "${CMAKE_INSTALL_INCLUDEDIR} " )
293293 configure_file ("${CMAKE_CURRENT_SOURCE_DIR} /tools/pybind11.pc.in"
You can’t perform that action at this time.
0 commit comments