diff options
author | Brad King <brad.king@kitware.com> | 2015-10-12 14:25:59 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-10-12 14:25:59 (GMT) |
commit | 9b05b14fef4b318ad8a8a37277ec8a270d124eba (patch) | |
tree | 5f5d6a650d7da5c2afbbeff0014886bc91b422fa /Tests | |
parent | 887b4c88011517b2ce2eef3d936493c11819df94 (diff) | |
parent | 340d0897fa9dfc568782d72c221ea6186bf533a6 (diff) | |
download | CMake-9b05b14fef4b318ad8a8a37277ec8a270d124eba.zip CMake-9b05b14fef4b318ad8a8a37277ec8a270d124eba.tar.gz CMake-9b05b14fef4b318ad8a8a37277ec8a270d124eba.tar.bz2 |
Merge topic 'revert-compiler-features-solaris'
340d0897 Revert topic 'compiler-features-solaris'
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt | 3 |
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 |