Skip to content

Commit cdb2906

Browse files
authored
fix cmake header path in install with custom CMAKE_INSTALL_INCLUDEDIR (nlohmann#4194)
1 parent 58d6aa5 commit cdb2906

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
@@ -122,7 +122,7 @@ target_include_directories(
122122
${NLOHMANN_JSON_TARGET_NAME}
123123
${NLOHMANN_JSON_SYSTEM_INCLUDE} INTERFACE
124124
$<BUILD_INTERFACE:${NLOHMANN_JSON_INCLUDE_BUILD_DIR}>
125-
$<INSTALL_INTERFACE:include>
125+
$<INSTALL_INTERFACE:${NLOHMANN_JSON_INCLUDE_INSTALL_DIR}>
126126
)
127127

128128
## add debug view definition file for msvc (natvis)

0 commit comments

Comments
 (0)