The sfml recipe is not working
sztomi opened this issue · 3 comments
sztomi commented
It is trying to install to a non-user location:
-- Installing: /Library/Frameworks/FLAC.framework .
CMake Error at cmake_install.cmake:55 (file):
file INSTALL cannot make directory "/Library/Frameworks/FLAC.framework":
Permission denied
pfultz2 commented
Hmm, it shouldn't be installing FLAC. It looks like it doesn't find FLAC on mac. I wonder if its because SFML sets CMAKE_OSX_ARCHITECTURES
.
pfultz2 commented
So, as a workaround you can set CMAKE_FIND_FRAMEWORK
to LAST
by doing cget install sfml -DCMAKE_FIND_FRAMEWORK=LAST
. I'll add that setting to the recipe.
Ultimately, I think LAST
should be the default. I am not sure why cmake chooses FIRST
as the default. Maybe a better option would be to set that in the toolchain.
pfultz2 commented
So this is fixed on master now.