Correctly handle SubsurfaceMobile

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-01-07 14:38:16 -02:00 committed by Dirk Hohndel
parent 89eed5d36e
commit 219299dc01
2 changed files with 5 additions and 11 deletions

View file

@ -14,9 +14,6 @@ set(SUBSURFACE_PROFILE_LIB_SRCS
tankitem.cpp
)
source_group("Subsurface Profile" FILES ${SUBSURFACE_PROFILE_LIB_SRCS})
if (SUBSURFACE_MOBILE)
add_definitions(-DSUBSURFACE_MOBILE=1)
endif()
add_library(subsurface_profile STATIC ${SUBSURFACE_PROFILE_LIB_SRCS})
target_link_libraries(subsurface_profile ${QT_LIBRARIES})