From 48574d5fd9e665980f481437fdf490747f4fd644 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Fri, 11 Feb 2022 20:06:24 +0100 Subject: Add missing include headers of LibO3000 to CMakeLists.txt Many headers need o3000_portable.h to work, but the default installation path for o3000 is /usr/local/include, which is not always included in the default compiler flags. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5e82c6..306cd9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ set(LIB_NAME o3000_imgpipe) # find libo3000 library find_package(LibO3000 REQUIRED) -include_directories(.) +include_directories(. ${LIBO3000_INCLUDE_DIRS}) file(GLOB colorpipesources *.c *.h) -- cgit v1.2.1