summaryrefslogtreecommitdiff
path: root/src/gui/curses/normal/CMakeLists.txt
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-13 11:59:18 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-13 11:59:18 +0200
commit6415c09a077e2564fe5e6548e09caa1dade0a3fc (patch)
tree6dfb5429f01ffc41e9f5b8375531e0482e498982 /src/gui/curses/normal/CMakeLists.txt
parentadbfd276604bc8025e439ab0ec7345d26a8bc4e8 (diff)
downloadweechat-6415c09a077e2564fe5e6548e09caa1dade0a3fc.zip
core: add quotes around paths in CMake files (closes #29)
Diffstat (limited to 'src/gui/curses/normal/CMakeLists.txt')
-rw-r--r--src/gui/curses/normal/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/curses/normal/CMakeLists.txt b/src/gui/curses/normal/CMakeLists.txt
index 661c72003..561a75dbc 100644
--- a/src/gui/curses/normal/CMakeLists.txt
+++ b/src/gui/curses/normal/CMakeLists.txt
@@ -68,11 +68,11 @@ add_custom_command(
TARGET ${EXECUTABLE}
COMMAND ${CMAKE_COMMAND} -E remove -f "weechat-curses${CMAKE_EXECUTABLE_SUFFIX}"
COMMAND ${CMAKE_COMMAND} -E create_symlink "weechat${CMAKE_EXECUTABLE_SUFFIX}" "weechat-curses${CMAKE_EXECUTABLE_SUFFIX}"
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Creating symbolic link ${EXECUTABLE}-curses${CMAKE_EXECUTABLE_SUFFIX}"
)
list(APPEND CMAKE_INSTALL_MANIFEST_FILES "${CMAKE_INSTALL_PREFIX}/bin/weechat-curses${CMAKE_EXECUTABLE_SUFFIX}")
# Install executable and symbolic link
install(TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${EXECUTABLE}-curses${CMAKE_EXECUTABLE_SUFFIX} DESTINATION bin)
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${EXECUTABLE}-curses${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION bin)