haptic: apply rpm macro of hal install path
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 26 Jan 2021 08:02:09 +0000 (17:02 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Tue, 26 Jan 2021 08:02:09 +0000 (17:02 +0900)
Change-Id: If1e452d978f506eb0b701dceb822091d35e0179b
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
hw/haptic/CMakeLists.txt

index 23a7a50..3fb9057 100644 (file)
@@ -21,4 +21,4 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
 ADD_LIBRARY(${PROJECT_NAME} MODULE standard.c)
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${haptic_pkgs_LDFLAGS})
 
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /hal/lib COMPONENT RuntimeLibraries)
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${HAL_LIB_DIR} COMPONENT RuntimeLibraries)