FS#40895 - [glm] Update cmake directory
Attached to Project:
Community Packages
Opened by Fabian Klemp (Faerbit) - Thursday, 19 June 2014, 14:09 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 24 June 2014, 09:49 GMT
Opened by Fabian Klemp (Faerbit) - Thursday, 19 June 2014, 14:09 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 24 June 2014, 09:49 GMT
|
Details
Description:
The FindGLM.cmake file currently lies in "/usr/share/cmake-2.8". As cmake was updated to version 3.0 the file needs to go to "/usr/share/cmake-3.0" as well. Otherwise Cmake won't work with GLM as it is searching in the wrong directory. The only change necessary should be changing this line (line 23): install -Dm644 util/FindGLM.cmake $pkgdir/usr/share/cmake-2.8/Modules/FindGLM.cmake To this: install -Dm644 util/FindGLM.cmake $pkgdir/usr/share/cmake-3.0/Modules/FindGLM.cmake Steps to reproduce: Try to build something with GLM and Cmake with the current package and see it fail. If you manually copy the FindGLM.cmake file to the 3.0 directory the build succeeds. |
This task depends upon