Fixed compilation on Maemo with Touchscreen
This commit is contained in:
parent
281029f150
commit
8d4e9572f5
1 changed files with 4 additions and 4 deletions
|
@ -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("==================================")
|
||||
|
|
Loading…
Reference in a new issue