> Le 19 janv. 2018 à 20:01, J Decker <[email protected]> a écrit :
> 
> 
> 
>> On Fri, Jan 19, 2018 at 10:44 AM, Lucas Soltic <[email protected]> 
>> wrote:
>> Hello,
>> Should I conclude that there are no recommendations?
>> 
> I would think if there were platform exceptions they would be modifications 
> to this... 
> 
> https://apimirror.com/cmake~3.8/module/gnuinstalldirs

Thanks for your time :) I didn’t find anything related to frameworks there. But 
I don’t expect GNU-related page to contain anything specific to macOS. Nice 
documentation website though, didn’t know about it.

I also did a grep in CMake modules but didn’t find anything close to a 
framework install prefix.

>> Best regards,
>> Lucas
>> 
>> > Le 17 janv. 2018 à 23:49, Lucas Soltic <[email protected]> a écrit :
>> >
>> > Hello,
>> >
>> > By default library install() command uses CMAKE_INSTALL_PREFIX (/usr/local 
>> > by default) as a base for relative install paths. But when you define 
>> > install rules for macOS frameworks, it doesn't make much sense to install 
>> > them there. I'd rather expect something like /Library/Frameworks.
>> >
>> > On the other side, if you have more things to install like a "readme" or 
>> > documentation that should go into /usr/local/share, it doesn't make sense 
>> > to have them installed in /Library/Frameworks. So you can't just change 
>> > CMAKE_INSTALL_PREFIX to be /Library/Frameworks.
>> >
>> > What do you recommend to keep installation rules simple (ie. remain 
>> > relative) and yet support installation of both frameworks and other things?
>> >
>> > Best regards,
>> > Lucas
>> > --
>> >
>> > Powered by www.kitware.com
>> >
>> > Please keep messages on-topic and check the CMake FAQ at: 
>> > http://www.cmake.org/Wiki/CMake_FAQ
>> >
>> > Kitware offers various services to support the CMake community. For more 
>> > information on each offering, please visit:
>> >
>> > CMake Support: http://cmake.org/cmake/help/support.html
>> > CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> > CMake Training Courses: http://cmake.org/cmake/help/training.html
>> >
>> > Visit other Kitware open-source projects at 
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > https://cmake.org/mailman/listinfo/cmake
>> 
>> --
>> 
>> Powered by www.kitware.com
>> 
>> Please keep messages on-topic and check the CMake FAQ at: 
>> http://www.cmake.org/Wiki/CMake_FAQ
>> 
>> Kitware offers various services to support the CMake community. For more 
>> information on each offering, please visit:
>> 
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>> 
>> Visit other Kitware open-source projects at 
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Follow this link to subscribe/unsubscribe:
>> https://cmake.org/mailman/listinfo/cmake
> 
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to