-
Notifications
You must be signed in to change notification settings - Fork 94
Some fixes to linux builds #1144
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -198,7 +198,7 @@ if (LINUX OR DARWIN) | |
| list(APPEND GCC_WARNINGS -Wno-reorder -Wno-non-virtual-dtor ) | ||
|
|
||
| if(LINUX) | ||
| list(APPEND GCC_WARNINGS -Wno-maybe-uninitialized -Wno-misleading-indentation -Wno-stringop-truncation -Wno-unused-value ) | ||
| list(APPEND GCC_WARNINGS -Wno-maybe-uninitialized -Wno-dangling-pointer ) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where did you encounter this issue. I have not been able to reproduce with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The problem occurs when bumping boost to 1.84.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it. We shall look at it again when then time comes. Maybe there's another way to get rid of the warning without having to disable it on the whole code base |
||
| endif() | ||
|
|
||
| add_compile_options(${GCC_WARNINGS}) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,25 +6,15 @@ include(GLIB) | |
| add_library( ll::uilibraries INTERFACE IMPORTED ) | ||
|
|
||
| if (LINUX) | ||
| target_compile_definitions(ll::uilibraries INTERFACE LL_X11=1 ) | ||
| use_prebuilt_binary(fltk) | ||
| target_compile_definitions(ll::uilibraries INTERFACE LL_FLTK=1 LL_X11=1 ) | ||
|
|
||
| if( USE_CONAN ) | ||
| return() | ||
| endif() | ||
|
|
||
| find_package(FLTK REQUIRED ) | ||
| find_library(ND_FLTK_STATIC_LIBRARY libfltk.a PATH_SUFFIXES fltk ) | ||
|
|
||
| if( NOT ND_FLTK_STATIC_LIBRARY ) | ||
| message(FATAL_ERROR "libfltk.a not found") | ||
| else() | ||
| message("libfltk.a found ${ND_FLTK_STATIC_LIBRARY}") | ||
| endif() | ||
|
|
||
| target_include_directories( ll::uilibraries SYSTEM INTERFACE ${FLTK_INCLUDE_DIR}) | ||
| target_compile_definitions( ll::uilibraries INTERFACE LL_FLTK=1 ) | ||
| target_link_libraries( ll::uilibraries INTERFACE | ||
| ${ND_FLTK_STATIC_LIBRARY} | ||
| fltk | ||
| Xrender | ||
| Xcursor | ||
| Xfixes | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for adding that. After this, it should be possible to drop llibfltk1.3-dev from .github/workflows/build_linux.yaml |
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.