From 3b5d4725f67d4e97870151829f95750e95f9a77b Mon Sep 17 00:00:00 2001 From: Bartlomiej Neumann Date: Sat, 25 May 2019 12:40:40 +0200 Subject: [PATCH] Fix invalid cmake export configuration Modify the CMakeLists.txt file to properly generate config file. The `/include` string part intended for BUILD_INTERFACE was added after the generator expression itself, which resulted in extra `/include` path INTERFACE_INCLUDE_DIRECTORIES property of exported configuration. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d4a39b..ac4c5ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(argparse::argparse ALIAS argparse) target_compile_features(argparse INTERFACE cxx_std_17) target_include_directories(argparse INTERFACE $ - $/include) + $) if(ARGPARSE_BUILD_TESTS) add_subdirectory(test)