1dc8d2f30e
They were required before, but could technically be deactived (the compilation would fail, but configuration was possible). The WITH_XRANDR and WITH_XCOMPOSITE now no longer appear in the cmake part. It still appears in the source code, but is always set to 1 Fixes #1536
18 lines
464 B
CMake
18 lines
464 B
CMake
#
|
|
# Generate settings.hpp
|
|
#
|
|
|
|
list(APPEND XPP_EXTENSION_LIST xpp::randr::extension)
|
|
list(APPEND XPP_EXTENSION_LIST xpp::composite::extension)
|
|
if(WITH_XKB)
|
|
list(APPEND XPP_EXTENSION_LIST xpp::xkb::extension)
|
|
endif()
|
|
string(REPLACE ";" ", " XPP_EXTENSION_LIST "${XPP_EXTENSION_LIST}")
|
|
|
|
configure_file(
|
|
${CMAKE_CURRENT_LIST_DIR}/settings.hpp.cmake
|
|
${CMAKE_BINARY_DIR}/generated-sources/settings.hpp
|
|
ESCAPE_QUOTES)
|
|
|
|
set(APP_VERSION ${APP_VERSION} PARENT_SCOPE)
|