aboutsummaryrefslogtreecommitdiffstats
path: root/HAL-afb/HDA-intel/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'HAL-afb/HDA-intel/CMakeLists.txt')
-rw-r--r--HAL-afb/HDA-intel/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/HAL-afb/HDA-intel/CMakeLists.txt b/HAL-afb/HDA-intel/CMakeLists.txt
index 4a12aee..efe244d 100644
--- a/HAL-afb/HDA-intel/CMakeLists.txt
+++ b/HAL-afb/HDA-intel/CMakeLists.txt
@@ -21,10 +21,10 @@
PROJECT_TARGET_ADD(hal-intel-hda)
# Define project Targets
- ADD_LIBRARY(hal-intel-hda MODULE IntelHdaHAL.c)
+ ADD_LIBRARY(${TARGET_NAME} MODULE IntelHdaHAL.c)
# Binder exposes a unique public entry point
- SET_TARGET_PROPERTIES(hal-intel-hda PROPERTIES
+ SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
PREFIX "afb-"
LABELS "BINDING"
LINK_FLAGS ${BINDINGS_LINK_FLAG}
@@ -32,11 +32,11 @@ PROJECT_TARGET_ADD(hal-intel-hda)
)
# Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(hal-intel-hda
+ TARGET_LINK_LIBRARIES(${TARGET_NAME}
hal-interface
audio-interface
)
# installation directory
- INSTALL(TARGETS hal-intel-hda
+ INSTALL(TARGETS ${TARGET_NAME}
LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR}) \ No newline at end of file