summaryrefslogtreecommitdiffstats
path: root/HAL-afb/Scarlett-Focusrite/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'HAL-afb/Scarlett-Focusrite/CMakeLists.txt')
-rw-r--r--HAL-afb/Scarlett-Focusrite/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/HAL-afb/Scarlett-Focusrite/CMakeLists.txt b/HAL-afb/Scarlett-Focusrite/CMakeLists.txt
index a2ca912..4cbac19 100644
--- a/HAL-afb/Scarlett-Focusrite/CMakeLists.txt
+++ b/HAL-afb/Scarlett-Focusrite/CMakeLists.txt
@@ -24,7 +24,7 @@ PROJECT_TARGET_ADD(hal-scalett-usb)
ADD_LIBRARY(hal-scalett-usb MODULE ScarlettUsbHAL.c)
# Binder exposes a unique public entry point
- SET_TARGET_PROPERTIES(hal-scalett-usb PROPERTIES
+ SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
PREFIX "afb-"
LABELS "BINDING"
LINK_FLAGS ${BINDINGS_LINK_FLAG}
@@ -32,11 +32,11 @@ PROJECT_TARGET_ADD(hal-scalett-usb)
)
# Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(hal-scalett-usb
+ TARGET_LINK_LIBRARIES(${TARGET_NAME}
hal-interface
audio-interface
)
# installation directory
- INSTALL(TARGETS hal-scalett-usb
+ INSTALL(TARGETS ${TARGET_NAME}
LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR}) \ No newline at end of file