From 436fd5221be6ef2cba1a09b4e42a40c9bdfa8095 Mon Sep 17 00:00:00 2001 From: Kai Blaschke Date: Wed, 6 Mar 2024 16:47:26 +0100 Subject: [PATCH] Fix include dirs in SOIL2 library --- vendor/SOIL2/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vendor/SOIL2/CMakeLists.txt b/vendor/SOIL2/CMakeLists.txt index 0a52d1df2..f9ccc85f2 100644 --- a/vendor/SOIL2/CMakeLists.txt +++ b/vendor/SOIL2/CMakeLists.txt @@ -22,8 +22,10 @@ add_library(SOIL2 OBJECT ) target_include_directories(SOIL2 - PUBLIC + PRIVATE "." + PUBLIC + "${CMAKE_CURRENT_SOURCE_DIR}/.." ) target_link_libraries(SOIL2