Skip to content

Commit e68550b

Browse files
committed
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 <chauncy@beechwoods.com>
1 parent f8f760f commit e68550b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ target_include_directories(yaml PUBLIC
8484
install(
8585
FILES
8686
include/yaml.h
87-
DESTINATION include COMPONENT Development
87+
DESTINATION ${INSTALL_INCLUDE_DIR} COMPONENT Development
8888
)
8989

9090
install(

0 commit comments

Comments
 (0)