-
Notifications
You must be signed in to change notification settings - Fork 82
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
Adding FreeBSD build support. #132
base: master
Are you sure you want to change the base?
Conversation
Requested changes made, should be ready for merge. |
Everything builds up to this point:
|
Please update all 4 submodules to the latest versions. |
I did that, re-applied some of my changes, and then this happened:
|
7f7e8fa
to
e58e6a3
Compare
b3b08ec
to
9f736a9
Compare
@@ -190,7 +190,7 @@ elseif(PLATFORM_ANDROID) | |||
target_link_libraries(Diligent-SampleBase PRIVATE GLESv3 PUBLIC native_app_glue) | |||
elseif(PLATFORM_LINUX) | |||
find_package(X11 REQUIRED) | |||
target_link_libraries(Diligent-SampleBase PRIVATE XCBKeySyms ${OPENGL_LIBRARY} X11::X11) | |||
target_link_libraries(Diligent-SampleBase PRIVATE XCBKeySyms ${OPENGL_LIBRARY} ${X11_LIBRARIES}) | |||
elseif(PLATFORM_MACOS OR PLATFORM_IOS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering, why X11::X11
does not work - this is supposed to be the official way to link with X11 using CMake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea why it doesn't work, I just know it doesn't.
Making all changes required to build on FreeBSD. Unity is not available for FreeBSD, so all Unity tests are disabled for FreeBSD. Some CMake entries for Linux may have changed, but their functionality remains unchanged.