From 8210260a7360a406e52d2328f1a3d18891879559 Mon Sep 17 00:00:00 2001 From: yingsu00 Date: Sat, 21 Sep 2024 01:20:36 -0700 Subject: [PATCH] Fix duckdb build failure Upgrade FBOS dependencies to 2024.09.16.00 installs all dependencies in deps-install subfolder, and set the include directory to it in front of other include directories. This caused duckdb build failed with "error: use of undeclared identifier 'FMT_SNPRINTF'". This commit removes the BEFORE keyword to fix the problem. --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b0d3a67c21c..f3b1d55c2e6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,9 +48,6 @@ endif() if(DEFINED ENV{INSTALL_PREFIX}) message(STATUS "Dependency install directory set to: $ENV{INSTALL_PREFIX}") list(APPEND CMAKE_PREFIX_PATH "$ENV{INSTALL_PREFIX}") - # Allow installed package headers to be picked up before brew/system package - # headers - include_directories(BEFORE "$ENV{INSTALL_PREFIX}/include") endif() list(PREPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMake"