mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 13:07:54 +00:00
[client] cmake: list enabled features in configure output
This commit is contained in:
parent
ee09594190
commit
8eed25b469
2 changed files with 9 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
a12-120-g66c3c0115f+1
|
||||
a12-121-gee09594190+1
|
|
@ -5,6 +5,7 @@ set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")
|
|||
|
||||
include(GNUInstallDirs)
|
||||
include(CheckCCompilerFlag)
|
||||
include(FeatureSummary)
|
||||
|
||||
option(OPTIMIZE_FOR_NATIVE "Build with -march=native" ON)
|
||||
if(OPTIMIZE_FOR_NATIVE)
|
||||
|
@ -15,8 +16,13 @@ if(OPTIMIZE_FOR_NATIVE)
|
|||
endif()
|
||||
|
||||
option(ENABLE_OPENGL "Enable the OpenGL renderer" ON)
|
||||
add_feature_info(ENABLE_OPENGL ENABLE_OPENGL "Legacy OpenGL renderer.")
|
||||
|
||||
option(ENABLE_EGL "Enable the EGL renderer" ON)
|
||||
add_feature_info(ENABLE_EGL ENABLE_EGL "EGL renderer.")
|
||||
|
||||
option(ENABLE_CB_X11 "Enable X11 clipboard integration" ON)
|
||||
add_feature_info(ENABLE_CB_X11 ENABLE_CB_X11 "X11 Clipboard Integration.")
|
||||
|
||||
add_compile_options(
|
||||
"-Wall"
|
||||
|
@ -85,3 +91,5 @@ target_link_libraries(looking-glass-client
|
|||
clipboards
|
||||
fonts
|
||||
)
|
||||
|
||||
feature_summary(WHAT ENABLED_FEATURES DISABLED_FEATURES)
|
||||
|
|
Loading…
Reference in a new issue