From 541ee62a05d007e1356e4d89d70f52a84282ca80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DELRIEU?= Date: Tue, 5 Dec 2017 11:27:03 +0100 Subject: [PATCH] cmake: use BUILD_INTERFACE/INSTALL_INTERFACE in target_include_directories --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3b146b1..1ad03e6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,9 @@ add_library(${NLOHMANN_JSON_TARGET_NAME} INTERFACE) target_include_directories( ${NLOHMANN_JSON_TARGET_NAME} - INTERFACE $ + INTERFACE + $ + $ ) ## add debug view defintion file for msvc (natvis) [cmake <= 3.2.2 does not support export of source files]