New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Freebsd cmake #10087
Freebsd cmake #10087
Conversation
like it was done in Makefile before
Looks good. Apart from that, only one other comment: so you're the one FreeBSD user we have, heheh. If you have the time, can you test #9987 commenting 6f5e4a5#diff-2cec9cf9f25dcb68763ba455c63ba01bR324 out? |
@@ -1,6 +1,9 @@ | |||
if(NOT SWIG_EXECUTABLE) | |||
find_program(SWIG_EXECUTABLE NAMES swig2.0 swig PATH_SUFFIXES swig) | |||
endif() | |||
if(NOT SWIG_EXECUTABLE) | |||
find_program(SWIG_EXECUTABLE NAMES swig3.0 swig PATH_SUFFIXES swig) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Thanks much! LGTM (besides the small minor that wsnipex mentioned already). |
thanks for the feedback. i will update the pr and look at #9987 next week, |
reuse linux args
use CMAKE_MAKE_PROGRAM variable to fix FreeBSD build
On FreeBSD the binary are: swig2.0 or swig3.0 so try to find version 3.0 if the 2.0 is not there
It's the linux file + xbmc/freebsd
PR updated and ready to be merged. |
Thanks, I have the readme updated together with a few more things. Will push that with my next PR. |
@@ -22,7 +22,7 @@ if(NOT WIN32) | |||
--host=${ARCH} | |||
CFLAGS=${defines} | |||
LDFLAGS=${ldflags} | |||
BUILD_COMMAND make V=1) | |||
BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} V=1) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Some cmake fixes to make things works on FreeBSD.
I marked [cmake] commits that can affect other platforms.