Skip to content

Commit

Permalink
bootstrap_common: build hybrid on linux/bsd
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Feb 11, 2025
1 parent 09cf11e commit 849e334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions scripts/bootstrap_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ else
-DFLTK_GRAPHICS_CAIRO=ON \
-DFLTK_USE_LIBDECOR_GTK=OFF \
-DFLTK_BUILD_FLUID=OFF \
-DFLTK_BUILD_FLTK_OPTIONS=OFF \
-DFLTK_BACKEND_WAYLAND=OFF
-DFLTK_BUILD_FLTK_OPTIONS=OFF

cmake --build bin --parallel
cmake --install bin
Expand Down
3 changes: 1 addition & 2 deletions src/cfl_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,8 @@ void *Fl_display(void) {

void *Fl_gc(void) {
#if defined(FLTK_USE_WAYLAND)
if (fl_wl_display())
return fl_wl_gc();
else
#elif defined(FLTK_USE_X11)
return fl_x11_gc();
#elif !defined(__ANDROID__) && !defined(__EMSCRIPTEN__)
return fl_gc;
Expand Down

0 comments on commit 849e334

Please sign in to comment.