From e68550be97a8d8801bdd526c9641f1ab7776f3ff Mon Sep 17 00:00:00 2001 From: "LIU, CHAUNCY" Date: Wed, 21 Feb 2024 19:08:15 -0500 Subject: [PATCH] cmake: Use INSTALL_INCLUDE_DIR instead of include Fix CMakeLists.txt to use INSTALL_INCLUDE_DIR instead of hardcoding "include" Signed-off-by: LIU, CHAUNCY --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f811481..80b12cb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,7 @@ target_include_directories(yaml PUBLIC install( FILES include/yaml.h - DESTINATION include COMPONENT Development + DESTINATION ${INSTALL_INCLUDE_DIR} COMPONENT Development ) install(