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
This commit is contained in:
Bill Somerville 2015-06-07 10:34:10 +00:00
parent cdf8a27296
commit 4f9cfafec9

View File

@ -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)