diff options
author | Brad King <brad.king@kitware.com> | 2003-07-10 18:32:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-10 18:32:30 (GMT) |
commit | d715fba1cb8d97d58cba912cb42359a7f7e8ff22 (patch) | |
tree | 37e597b0d9322b9e7c60f9e8a029b5603e0fef96 /Source/kwsys/CMakeLists.txt | |
parent | b75c229444d8072fd63df2d723fb9cbec81f53f4 (diff) | |
download | CMake-d715fba1cb8d97d58cba912cb42359a7f7e8ff22.zip CMake-d715fba1cb8d97d58cba912cb42359a7f7e8ff22.tar.gz CMake-d715fba1cb8d97d58cba912cb42359a7f7e8ff22.tar.bz2 |
ENH: Added use of KWSYS_HEADER macro in c and cxx files to include kwsys headers through their configured namespace.
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 423a4b9..6f0b9fe 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -304,11 +304,8 @@ IF(KWSYS_LIBRARY_INSTALL_DIR) ENDIF(KWSYS_LIBRARY_INSTALL_DIR) # For building kwsys itself, we use a macro defined on the command -# line to configure the namespace in the C and C++ source files. The -# source files must also include their headers without the namespae -# prefix, so we add the header directory to the include path directly. +# line to configure the namespace in the C and C++ source files. ADD_DEFINITIONS("-DKWSYS_NAMESPACE=${KWSYS_NAMESPACE}") -INCLUDE_DIRECTORIES(BEFORE ${KWSYS_HEADER_DIR}) #----------------------------------------------------------------------------- # Process execution on windows needs to build a forwarding executable |