Opened 5 years ago

Last modified 4 years ago

#1353 assigned defect/bug

Build fails if build directory path contains space characters

Reported by: Owned by:
Priority: major Milestone: version 0.6.0
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 (4)

comment:1 Changed 5 years ago by

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

comment:2 Changed 5 years ago by

  • Milestone set to version 0.5.1

comment:3 Changed 5 years ago by

  • Cc added

comment:4 Changed 4 years ago by

  • Milestone changed from version 0.5.1 to version 0.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.