diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index a892916ef258..d333c406f85f 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -2344,7 +2344,7 @@ if(WITH_INTERNAL_MESHOPTIMIZER) ) target_include_directories(qgis_core PRIVATE - ${CMAKE_SOURCE_DIR}/external/meshOptimizer/simplifier.cpp + ${CMAKE_SOURCE_DIR}/external/meshOptimizer ) else() find_package(meshoptimizer CONFIG REQUIRED)