1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-21 19:23:03 +04:00

fix cmake header path in install with custom CMAKE_INSTALL_INCLUDEDIR (#4194)

This commit is contained in:
Benjamin Buch
2023-10-31 19:52:54 +01:00
committed by GitHub
parent 58d6aa5831
commit cdb29069da
+1 -1
View File
@@ -122,7 +122,7 @@ target_include_directories(
${NLOHMANN_JSON_TARGET_NAME} ${NLOHMANN_JSON_TARGET_NAME}
${NLOHMANN_JSON_SYSTEM_INCLUDE} INTERFACE ${NLOHMANN_JSON_SYSTEM_INCLUDE} INTERFACE
$<BUILD_INTERFACE:${NLOHMANN_JSON_INCLUDE_BUILD_DIR}> $<BUILD_INTERFACE:${NLOHMANN_JSON_INCLUDE_BUILD_DIR}>
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:${NLOHMANN_JSON_INCLUDE_INSTALL_DIR}>
) )
## add debug view definition file for msvc (natvis) ## add debug view definition file for msvc (natvis)