mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Remove unnecessary statement from CMake build example
This commit is contained in:
+2
-4
@@ -171,11 +171,12 @@ OPTION_USE_CAIRO - default OFF
|
|||||||
Makes all drawing operations use the Cairo library (rather than Xlib)
|
Makes all drawing operations use the Cairo library (rather than Xlib)
|
||||||
producing antialiased graphics (X11 platform, implies OPTION_USE_PANGO).
|
producing antialiased graphics (X11 platform, implies OPTION_USE_PANGO).
|
||||||
|
|
||||||
OPTION_USE_PANGO - default OFF
|
OPTION_USE_PANGO - default OFF (see note below)
|
||||||
Enables use of the Pango library for drawing text. Pango supports all
|
Enables use of the Pango library for drawing text. Pango supports all
|
||||||
unicode-defined scripts and gives FLTK limited support of right-to-left
|
unicode-defined scripts and gives FLTK limited support of right-to-left
|
||||||
scripts. This option makes sense only under X11 or Wayland, and also
|
scripts. This option makes sense only under X11 or Wayland, and also
|
||||||
requires Xft.
|
requires Xft.
|
||||||
|
Note: Turned ON if Wayland or OPTION_USE_CAIRO is enabled.
|
||||||
|
|
||||||
OPTION_USE_KDIALOG - default ON
|
OPTION_USE_KDIALOG - default ON
|
||||||
Under the KDE desktop, allows class Fl_Native_File_Chooser to use the
|
Under the KDE desktop, allows class Fl_Native_File_Chooser to use the
|
||||||
@@ -674,9 +675,6 @@ project(hello)
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
set(FLTK_BUILD_TEST OFF CACHE BOOL "" FORCE)
|
set(FLTK_BUILD_TEST OFF CACHE BOOL "" FORCE)
|
||||||
if(UNIX AND NOT APPLE)
|
|
||||||
set(OPTION_USE_PANGO ON CACHE BOOL "" FORCE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
FetchContent_Declare(FLTK
|
FetchContent_Declare(FLTK
|
||||||
GIT_REPOSITORY https://github.com/fltk/fltk
|
GIT_REPOSITORY https://github.com/fltk/fltk
|
||||||
|
|||||||
Reference in New Issue
Block a user