aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2025-01-08 06:14:47 +0100
committerPřemysl Eric Janouch <p@janouch.name>2025-01-08 06:14:47 +0100
commitaf889b733e81fa40d7a7ff652386585115e186f5 (patch)
treee83ef142a472bac8f89d216ac6fba989a5896ea2
parent51231d84baff8a936e1155d2ee2eee3b4d9117ce (diff)
downloadliberty-af889b733e81fa40d7a7ff652386585115e186f5.tar.gz
liberty-af889b733e81fa40d7a7ff652386585115e186f5.tar.xz
liberty-af889b733e81fa40d7a7ff652386585115e186f5.zip
wdye: ensure we find our own config.h
-rw-r--r--tools/wdye/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wdye/CMakeLists.txt b/tools/wdye/CMakeLists.txt
index a69f7ee..d3a5654 100644
--- a/tools/wdye/CMakeLists.txt
+++ b/tools/wdye/CMakeLists.txt
@@ -22,7 +22,7 @@ option (WITH_CURSES "Offer terminal sequences using Curses" "${CURSES_FOUND}")
# -liconv may or may not be a part of libc
find_path (iconv_INCLUDE_DIRS iconv.h)
-include_directories ("${PROJECT_BINARY_DIR}" ${iconv_INCLUDE_DIRS})
+include_directories (BEFORE "${PROJECT_BINARY_DIR}" ${iconv_INCLUDE_DIRS})
file (CONFIGURE OUTPUT "${PROJECT_BINARY_DIR}/config.h" CONTENT [[
#define PROGRAM_NAME "${PROJECT_NAME}"
#define PROGRAM_VERSION "${PROJECT_VERSION}"