[kde-doc-english] Review Request 124542: CMake fixes for Windows build

Alex Merry alex.merry at kde.org
Fri Jul 31 17:29:41 UTC 2015



> On July 31, 2015, 5:19 p.m., David Faure wrote:
> > src/CMakeLists.txt, line 20
> > <https://git.reviewboard.kde.org/r/124542/diff/1/?file=388805#file388805line20>
> >
> >     I can't see how setting a variable to itself can possibly change anything, or make any sense (other than an extremely weird bug in cmake).
> >     
> >     Actually it could be that this interprets the string as a list or vice versa.... in which case the problem could be before this, at the time where this module sets CMAKE_MODULE_PATH (toplevel file?)
> 
> Alex Merry wrote:
>     See my comment above. This change is correct.

Ah, and you should note the context the variable substitution takes place in. It is being substituted in the CMakeLists.txt file, but the `set` call is being evaluated in the install script.

That being said, there should probably be some quotes in there, like

    set(CMAKE_MODULE_PATH \"${CMAKE_MODULE_PATH}\")


- Alex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124542/#review83249
-----------------------------------------------------------


On July 31, 2015, 7:34 a.m., Kevin Funk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124542/
> -----------------------------------------------------------
> 
> (Updated July 31, 2015, 7:34 a.m.)
> 
> 
> Review request for Documentation, KDE Frameworks and Luigi Toscano.
> 
> 
> Repository: kdoctools
> 
> 
> Description
> -------
> 
> BUG: 348061
> 
> 
> Diffs
> -----
> 
>   cmake/uriencode.cmake e5f3c3acd93d3871e44b6e6fb29ad7113e18d751 
>   src/CMakeLists.txt e3868fc4f22324d25f680c13609bfb92b8b7c41d 
> 
> Diff: https://git.reviewboard.kde.org/r/124542/diff/
> 
> 
> Testing
> -------
> 
> Adding ':' to the list of escaped characters is probably not an ideal solution, but let me hear your ideas.
> 
> 
> Thanks,
> 
> Kevin Funk
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-doc-english/attachments/20150731/f2b393fd/attachment.html>


More information about the kde-doc-english mailing list