Opened 13 months ago

Last modified 10 months ago

#1353 assigned defect/bug

Build fails if build directory path contains space characters

Reported by: Owned by:
Priority: major Milestone: version 0.5.1
Component: core Version: git master
Severity: normal Keywords:


Build fails if build directory path contains space characters.

It fails in the stage of gettext generating .mo files (no such file or directory)

I think that the error is in file po/CMakeLists.txt line 82. I think that ${CMAKE_CURRENT_BINARY_DIR} should not be quoted (it is quoted twice in that line).

If the directory path contains spaces, ${CMAKE_CURRENT_BINARY_DIR} contains the directory path with the spaces escaped with backslashes. If used inside normal quotes, the backslash is printed.

Try this in bash: STR1="Hi how are you"; STR2="Hi\ how\ are\ you"; echo $STR1; echo $STR2;

Change History (3)

comment:1 Changed 13 months ago by

  • Owner changed from KaZeR to
  • Status changed from new to assigned

comment:2 Changed 12 months ago by

  • Milestone set to version 0.5.1

comment:3 Changed 10 months ago by

  • Cc added
Note: See TracTickets for help on using tickets.