PROJECT( GpsdPositionProviderPlugin )

INCLUDE_DIRECTORIES(
 ${CMAKE_CURRENT_SOURCE_DIR}
 ${CMAKE_CURRENT_BINARY_DIR}
 ${QT_INCLUDE_DIR}
 ${LIBGPS_INCLUDE_DIR}
)
if( QT4_FOUND )
  include(${QT_USE_FILE})
endif()

set( gpsd_SRCS
 GpsdConnection.cpp
 GpsdPositionProviderPlugin.cpp
 GpsdThread.cpp
)

set( GpsdPositionProviderPlugin_LIBS ${LIBGPS_LIBRARIES} )

marble_add_plugin( GpsdPositionProviderPlugin ${gpsd_SRCS} )
