summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
Diffstat (limited to 'binding')
-rw-r--r--binding/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/CMakeLists.txt b/binding/CMakeLists.txt
index 3ed0035..e7cd188 100644
--- a/binding/CMakeLists.txt
+++ b/binding/CMakeLists.txt
@@ -21,7 +21,7 @@
PROJECT_TARGET_ADD(bluetooth-pbap-binding)
# Define project Targets
- add_library(bluetooth-pbap-binding MODULE
+ add_library(${TARGET_NAME} MODULE
bluetooth-pbap-binding.c
bluetooth-vcard-parser.c
gdbus/freedesktop_dbus_properties_interface.c
@@ -39,6 +39,6 @@ PROJECT_TARGET_ADD(bluetooth-pbap-binding)
)
# Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries})
+ TARGET_LINK_LIBRARIES(${TARGET_NAME} ${link_libraries} m)
include_directories(gdbus)