diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index 690c79c7..01fbb0a8 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -17,6 +17,8 @@ endif() include(UseJava) project(DuckDBJava) +include_directories(${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2}) + include_directories(${INCLUDE_FILES}) add_definitions(${DEFINES})