From a9717206f3c87358787823ecad9efd2dc1118933 Mon Sep 17 00:00:00 2001 From: MrSimbax Date: Mon, 13 Jul 2020 22:04:33 +0200 Subject: [PATCH] Try to fix linter errors --- cmake/colobot-lint.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/colobot-lint.cmake b/cmake/colobot-lint.cmake index 0fb019b2..67b42d7e 100644 --- a/cmake/colobot-lint.cmake +++ b/cmake/colobot-lint.cmake @@ -25,7 +25,7 @@ macro(add_fake_header_sources subdir) list(APPEND all_fake_header_src_files ${fake_header_src_file}) endforeach() - include_directories(${colobot_SOURCE_DIR}) add_library(colobot_${subdir}_fake_header_srcs STATIC ${all_fake_header_src_files}) + target_include_directories(colobot_${subdir}_fake_header_srcs PUBLIC ${colobot_SOURCE_DIR}) endif() endmacro()