From f195044bc3d9ebf4a53219bc3bbb6767cfbadb34 Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Wed, 8 Jan 2025 10:06:18 -0800 Subject: [PATCH] Omit the apps/avifgainmaputil/ include directory All the C compilers I have worked with automatically search for headers in the same directory where the source file resides. So it is redundant to add that directory to target_include_directories(). --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 83b24e52d3..be45725957 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -739,7 +739,6 @@ if(AVIF_BUILD_APPS) endif() endif() set_target_properties(avifgainmaputil PROPERTIES LINKER_LANGUAGE "CXX") - target_include_directories(avifgainmaputil PRIVATE apps/avifgainmaputil/) target_link_libraries(avifgainmaputil libargparse avif_apps avif avif_enable_warnings) if(NOT SKIP_INSTALL_APPS AND NOT SKIP_INSTALL_ALL)