From: Konstantnos Margaritis Date: Tue, 21 Nov 2023 17:14:21 +0000 (+0000) Subject: add include dirs X-Git-Tag: vectorscan/5.4.12^2~83^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c53b4e608bd6166d003007b3aa7e0dccff434fc;p=thirdparty%2Fvectorscan.git add include dirs --- diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index 90c685c4..63391a68 100644 --- a/benchmarks/CMakeLists.txt +++ b/benchmarks/CMakeLists.txt @@ -1,4 +1,7 @@ -if (NOT FAT_RUNTIME AND (BUILD_STATIC_AND_SHARED OR BUILD_STATIC_LIBS)) +include_directories(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}) +include_directories(${PROJECT_SOURCE_DIR}) + +if (NOT FAT_RUNTIME AND (BUILD_SHARED_LIBS OR BUILD_STATIC_LIBS)) add_executable(benchmarks benchmarks.cpp) set_source_files_properties(benchmarks.cpp PROPERTIES COMPILE_FLAGS "-Wall -Wno-unused-variable")