Clear the main CMake file

A bit of dust was setting here, when I moved tons of things around
I forgot to remove some bits.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-09-03 17:19:18 -03:00 committed by Dirk Hohndel
parent 044e593957
commit 225ac07005

View file

@ -144,7 +144,6 @@ if(FTDISUPPORT)
if (NOT LIBFTDI_FOUND) if (NOT LIBFTDI_FOUND)
pkg_config_library(LIBFTDI libftdi1 REQUIRED) pkg_config_library(LIBFTDI libftdi1 REQUIRED)
endif() endif()
set(SERIAL_FTDI serial_ftdi.c)
add_definitions(-DSERIAL_FTDI) add_definitions(-DSERIAL_FTDI)
endif() endif()
@ -273,7 +272,6 @@ add_custom_target(
) )
# set up the different target platforms # set up the different target platforms
set(PLATFORM_SRC unknown_platform.c)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux") if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(SUBSURFACE_TARGET subsurface) set(SUBSURFACE_TARGET subsurface)
# in some builds we appear to be missing libz for some strange reason... # in some builds we appear to be missing libz for some strange reason...
@ -318,7 +316,6 @@ add_subdirectory(desktop-widgets)
if(FBSUPPORT) if(FBSUPPORT)
add_definitions(-DFBSUPPORT) add_definitions(-DFBSUPPORT)
set(SOCIALNETWORKS qt-ui/socialnetworks.cpp)
endif() endif()
if(BTSUPPORT) if(BTSUPPORT)