|
|
|
|
@ -1,3 +1,9 @@ |
|
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.10.0") |
|
|
|
|
# CMake 3.9+ warns about automoc on files without Q_OBJECT, and doesn't know about other macros. |
|
|
|
|
# 3.10+ lets us provide more macro names that require automoc. |
|
|
|
|
list(APPEND CMAKE_AUTOMOC_MACRO_NAMES K_EXPORT_PLASMA_GEOLOCATIONPROVIDER) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
set(plasma_geolocation_interface_SRCS geolocationprovider.cpp) |
|
|
|
|
add_library(plasma-geolocation-interface SHARED ${plasma_geolocation_interface_SRCS}) |
|
|
|
|
target_link_libraries(plasma-geolocation-interface |
|
|
|
|
|