From 75f5a8f6abb5fe0e0f5d14c8030322e284bcd82c Mon Sep 17 00:00:00 2001 From: Marius Gripsgard Date: Sat, 18 Aug 2018 12:54:26 +0200 Subject: [PATCH] Change option var to ENABLE_TOUCH_INPUT --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a6c049..b41cb18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") -option(TOUCH_INPUT "Enable touch input support" OFF) -if (TOUCH_INPUT) +option(ENABLE_TOUCH_INPUT "Enable touch input support" OFF) +if (ENABLE_TOUCH_INPUT) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DENABLE_TOUCH_INPUT") endif()