Change option var to ENABLE_TOUCH_INPUT
This commit is contained in:
parent
2b3c1f1e2d
commit
75f5a8f6ab
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue