2
LOCATION_SERVICE_ENABLE_SKYHOOK_PROVIDER
3
"Enable location provider relying on the Skyhook SDK"
7
if (LOCATION_SERVICE_ENABLE_SKYHOOK_PROVIDER)
9
pkg_check_modules(WPSAPI wpsapi)
12
message(STATUS "Enabling support for Skyhook location providers")
14
add_definitions(-DCOM_UBUNTU_LOCATION_SERVICE_PROVIDERS_SKYHOOK)
16
include_directories(${WPSAPI_INCLUDE_DIRS})
17
link_directories(${WPSAPI_LIBRARY_DIRS})
19
add_library(skyhook provider.cpp)
21
target_link_libraries(
29
ENABLED_PROVIDER_TARGETS
30
skyhook ${ENABLED_PROVIDER_TARGETS}
35
ENABLED_PROVIDER_TARGETS_DEFINITIONS
36
-DCOM_UBUNTU_LOCATION_SERVICE_PROVIDERS_SKYHOOK ${ENABLED_PROVIDER_TARGETS_DEFINITIONS}
40
endif (LOCATION_SERVICE_ENABLE_SKYHOOK_PROVIDER)