浏览代码

COMP: All kwsys .hxx headers should include Configure.hxx. Re-enabling testAutoPtr.

Brad King 18 年之前
父节点
当前提交
091eafefb3
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      Source/kwsys/CMakeLists.txt
  2. 2 0
      Source/kwsys/auto_ptr.hxx.in

+ 1 - 1
Source/kwsys/CMakeLists.txt

@@ -871,7 +871,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
 
     # C++ tests
     SET(KWSYS_CXX_TESTS
-      #      testAutoPtr
+      testAutoPtr
       testHashSTL
       testRegistry
       testIOS

+ 2 - 0
Source/kwsys/auto_ptr.hxx.in

@@ -14,6 +14,8 @@
 #ifndef @KWSYS_NAMESPACE@_auto_ptr_hxx
 #define @KWSYS_NAMESPACE@_auto_ptr_hxx
 
+#include <@KWSYS_NAMESPACE@/Configure.hxx>
+
 namespace @KWSYS_NAMESPACE@
 {