From 47e22823f198d23f951e4789a05b6565e55236e6 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sun, 7 Jun 2015 10:34:10 +0000 Subject: [PATCH] Ensure that generated include files are included from the build tree If an out of source build is done using a source tree that has previously been used for an in source build then we must ensure that generated files in the source tree are not considered. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5550 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5908f7f4..2bb95af04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1055,7 +1055,7 @@ configure_file ( "${PROJECT_SOURCE_DIR}/wsjtx_config.h.in" "${PROJECT_BINARY_DIR}/wsjtx_config.h" ) -include_directories ("${PROJECT_BINARY_DIR}") +include_directories (BEFORE "${PROJECT_BINARY_DIR}") if (NOT WIN32 AND NOT APPLE)