[CMake] Add an option to use High-DPI support (Windows only).
This option can be used with CMake to configure the experimental high-DPI support under Windows. The option may be removed once high-DPI support under Windows is complete. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
7dda366286
commit
9d10d08ed0
@ -47,6 +47,17 @@ if(UNIX)
|
||||
list(APPEND FLTK_LDLIBS -lm)
|
||||
endif(UNIX)
|
||||
|
||||
#######################################################################
|
||||
## Add a TEMPORARY OPTION to enable high-DPI support under Windows.
|
||||
## May be removed once high-DPI support under Windows is complete.
|
||||
#######################################################################
|
||||
if (WIN32)
|
||||
option(OPTION_HIDPI "build with experimental high-DPI support" OFF)
|
||||
if (OPTION_HIDPI)
|
||||
add_definitions("-DFLTK_HIDPI_SUPPORT")
|
||||
endif (OPTION_HIDPI)
|
||||
endif (WIN32)
|
||||
|
||||
#######################################################################
|
||||
if(APPLE)
|
||||
option(OPTION_APPLE_X11 "use X11" OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user