Skip to content

Commit

Permalink
cmake: Use INSTALL_INCLUDE_DIR instead of include
Browse files Browse the repository at this point in the history
Fix CMakeLists.txt to use INSTALL_INCLUDE_DIR instead of hardcoding "include"

Signed-off-by: LIU, CHAUNCY <[email protected]>
  • Loading branch information
cliu5764 committed Mar 3, 2024
1 parent f8f760f commit e68550b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e68550b

Please sign in to comment.