Fixed compilation on Maemo with Touchscreen

This commit is contained in:
Pali Rohár 2012-01-02 23:13:23 +01:00
parent 281029f150
commit 8d4e9572f5

View file

@ -498,10 +498,6 @@ if(WIN32 AND NOT ENABLE_STDIO_REDIRECT)
add_definitions(-DNO_STDIO_REDIRECT)
endif()
if(ENABLE_TOUCHSCREEN)
add_definitions(-DUSE_TOUCHSCREEN)
endif()
if(WITH_BZIP2 AND BZIP2_FOUND)
add_definitions(-DUSE_BZ2LIB ${BZIP2_DEFINITIONS})
include_directories(${BZIP2_INCLUDE_DIR})
@ -608,6 +604,10 @@ else()
set(CMAKE_EXE_LINKER_FLAGS "")
endif()
if(ENABLE_TOUCHSCREEN)
add_definitions(-DUSE_TOUCHSCREEN)
endif()
# Print compile info
message("==================================")