|
From: | Mislav Blazevic |
Subject: | Re: [Mingw-cross-env-list] cmake cannot find SFML in mxe |
Date: | Sun, 24 Nov 2013 09:53:54 +0100 |
It looks like you need to set a couple of cmake variables:
On 24 Nov 2013, at 03:29, Mislav Blazevic <address@hidden> wrote:
> I wrote following mk file to build my fork of sfeMovie library: https://gist.github.com/krofna/7616623 It is c&p of sfml.mk with few things changed so I'm not sure if its correct. When I run 'make sfemovie' cmake fails to find SFML (which I previously built): https://gist.github.com/krofna/7616640
>
> I tried to modify tmp-sfemovie/sfeMovie-1.0-fgre/cmake/Modules/FindSFML.cmake to look for SFML in /usr/i686-pc-mingw32 instead of /usr but that didn't help. I'm out of ideas, help would be appreciated.
cd '$(1)/build' && cmake .. \
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)’ \
-DSFML_STATIC_LIBRARIES=TRUE \
-DSFML_ROOT=‘$(PREFIX)/$(TARGET)’
Should get you closer.
Cheers,
Tony
[Prev in Thread] | Current Thread | [Next in Thread] |