summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-12 14:29:36 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-12 14:29:36 (GMT)
commit4df5c3d13163eaaadd1062f1fc45a3177972b21b (patch)
treedaecf6664103b0229ce398fcc50ae0bf6f824f70 /Tests
parent889d90de4421d721877d48e44de303db56562af4 (diff)
parent340d0897fa9dfc568782d72c221ea6186bf533a6 (diff)
downloadCMake-4df5c3d13163eaaadd1062f1fc45a3177972b21b.zip
CMake-4df5c3d13163eaaadd1062f1fc45a3177972b21b.tar.gz
CMake-4df5c3d13163eaaadd1062f1fc45a3177972b21b.tar.bz2
Merge branch 'revert-compiler-features-solaris' into release
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt b/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
index ffee035..c538280 100644
--- a/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
+++ b/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
@@ -25,8 +25,7 @@ if (NOT CMAKE_CXX_COMPILE_FEATURES AND NOT CMAKE_C_COMPILE_FEATURES)
)
add_executable(WriteCompilerDetectionHeader "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp")
- if((UNIX OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "SunPro")
+ if(UNIX OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
include(CheckCXXSourceCompiles)
check_cxx_source_compiles("#include \"${CMAKE_CURRENT_BINARY_DIR}/test_compiler_detection.h\"\nint main() { return 0; }\n"
file_include_works