From 60a2cf333b2d571ea517cf7b296991d88dd6b72b Mon Sep 17 00:00:00 2001 From: Mario Werner Date: Mon, 19 Jun 2017 16:41:37 +0200 Subject: [PATCH] removed target_sources from interface library Adding target_sources to interface libraries and exporting them is not supported in CMake 3.1 and 3.2. Furthermore, since it is a header, it is not needed at all. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ea0bfe..3afb097 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,10 +49,6 @@ if(CXXOPTS_USE_UNICODE_HELP) target_compile_definitions(cxxopts INTERFACE CXXOPTS_USE_UNICODE) endif() -target_sources(cxxopts INTERFACE - $ - $ - ) target_include_directories(cxxopts INTERFACE $ $