summaryrefslogtreecommitdiffstats
path: root/binding/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'binding/CMakeLists.txt')
-rw-r--r--binding/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/binding/CMakeLists.txt b/binding/CMakeLists.txt
index c295eb0..f4f58f6 100644
--- a/binding/CMakeLists.txt
+++ b/binding/CMakeLists.txt
@@ -21,6 +21,8 @@
# Add target to project dependency list
PROJECT_TARGET_ADD(radio-binding)
+ add_definitions(-DAFB_BINDING_VERSION=2)
+
# Define project Targets
set(radio_SOURCES
radio-binding.c
@@ -46,10 +48,6 @@ PROJECT_TARGET_ADD(radio-binding)
TARGET_COMPILE_OPTIONS(${TARGET_NAME} PUBLIC ${SOUND_CFLAGS})
TARGET_LINK_LIBRARIES(${TARGET_NAME} ${SOUND_LIBRARIES} ${link_libraries})
- # installation directory
- INSTALL(TARGETS ${TARGET_NAME}
- LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR})
-
# Add helper program target
PROJECT_TARGET_ADD(rtl_fm_helper)