Skip to content

Commit

Permalink
Allow the project_binary_dir to contain a whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Feb 5, 2024
1 parent fb3667f commit 2a79606
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_bash_completions.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ set(INSTALL_DIR "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/@BASH_COMPLETIONS_DIR@")
file(MAKE_DIRECTORY "${INSTALL_DIR}")
message(STATUS "Installing ${INSTALL_DIR}/gdalinfo")
configure_file("@CMAKE_CURRENT_SOURCE_DIR@/gdal-bash-completion.sh" "${INSTALL_DIR}/gdalinfo" COPYONLY)
file(APPEND @PROJECT_BINARY_DIR@/install_manifest_extra.txt "${INSTALL_DIR}/gdalinfo\n")
file(APPEND "@PROJECT_BINARY_DIR@/install_manifest_extra.txt" "${INSTALL_DIR}/gdalinfo\n")

foreach (program IN LISTS PROGRAMS)
message(STATUS "Installing ${INSTALL_DIR}/${program}")
Expand All @@ -52,5 +52,5 @@ foreach (program IN LISTS PROGRAMS)
else ()
configure_file("${INSTALL_DIR}/gdalinfo" "${INSTALL_DIR}/${program}" COPYONLY)
endif ()
file(APPEND @PROJECT_BINARY_DIR@/install_manifest_extra.txt "${INSTALL_DIR}/${program}\n")
file(APPEND "@PROJECT_BINARY_DIR@/install_manifest_extra.txt" "${INSTALL_DIR}/${program}\n")
endforeach ()

0 comments on commit 2a79606

Please sign in to comment.