{"action":"closed","issue":{"url":"https://api.github.com/repos/SFML/CSFML/issues/33","labels_url":"https://api.github.com/repos/SFML/CSFML/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/SFML/CSFML/issues/33/comments","events_url":"https://api.github.com/repos/SFML/CSFML/issues/33/events","html_url":"https://github.com/SFML/CSFML/issues/33","id":27854599,"number":33,"title":"Complete quoting for parameters of some CMake commands","user":{"login":"elfring","id":660477,"avatar_url":"https://avatars.githubusercontent.com/u/660477?v=3","gravatar_id":"","url":"https://api.github.com/users/elfring","html_url":"https://github.com/elfring","followers_url":"https://api.github.com/users/elfring/followers","following_url":"https://api.github.com/users/elfring/following{/other_user}","gists_url":"https://api.github.com/users/elfring/gists{/gist_id}","starred_url":"https://api.github.com/users/elfring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfring/subscriptions","organizations_url":"https://api.github.com/users/elfring/orgs","repos_url":"https://api.github.com/users/elfring/repos","events_url":"https://api.github.com/users/elfring/events{/privacy}","received_events_url":"https://api.github.com/users/elfring/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-02-19T06:55:51Z","updated_at":"2015-11-06T14:29:27Z","closed_at":"2015-11-06T14:29:27Z","body":"Some parameters (like \"[${CMAKE_CURRENT_SOURCE_DIR}/include](https://github.com/LaurentGomila/CSFML/blob/6669a6590a59c2fa2ccaed018ff42cc0ec2ebb6d/CMakeLists.txt#L28)\" and \"[${DOXYGEN_OUTPUT_DIR}/doxyfile](https://github.com/LaurentGomila/CSFML/blob/6669a6590a59c2fa2ccaed018ff42cc0ec2ebb6d/doc/CMakeLists.txt#L26)\") are passed to CMake commands in your build scripts without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like spaces.\r\n\r\nI would recommend to apply [advices from a Wiki article](http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes. \"CMake splits arguments unless you use quotation marks or escapes.\")."}}