diff options
author | Brad King <brad.king@kitware.com> | 2017-12-08 15:08:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-12-08 15:08:39 (GMT) |
commit | 9dee52bacad3a5b3794b0101b7b16d6bc9b0553a (patch) | |
tree | 7da2afec244f6220a5a6879279d6eec47ecf629c /Source/kwsys | |
parent | d25bcab161bfccb43cbeb43dfe96c805e2c27530 (diff) | |
parent | 3b1bb703a2f75f26fd453e50f848b5dbd64bc169 (diff) | |
download | CMake-9dee52bacad3a5b3794b0101b7b16d6bc9b0553a.zip CMake-9dee52bacad3a5b3794b0101b7b16d6bc9b0553a.tar.gz CMake-9dee52bacad3a5b3794b0101b7b16d6bc9b0553a.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2017-12-08 (2d27b1d0)
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 64b6484..351e38d 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -705,9 +705,13 @@ ENDIF() # selected components. Initialize with required components. SET(KWSYS_CLASSES) SET(KWSYS_H_FILES Configure SharedForward) -SET(KWSYS_HXX_FILES Configure String - hashtable hash_fun hash_map hash_set - ) +SET(KWSYS_HXX_FILES Configure String) + +IF(NOT CMake_SOURCE_DIR) + SET(KWSYS_HXX_FILES ${KWSYS_HXX_FILES} + hashtable hash_fun hash_map hash_set + ) +ENDIF() # Add selected C++ classes. SET(cppclasses @@ -1027,7 +1031,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) ENDFOREACH() # C++ tests - IF(NOT WATCOM) + IF(NOT WATCOM AND NOT CMake_SOURCE_DIR) SET(KWSYS_CXX_TESTS testHashSTL ) |