Revert topic 'compiler-features-solaris'

Revert commit v3.4.0-rc1~10^2~2 (Features: Disable support for Oracle
SolarisStudio on non-Linux, 2015-09-29) and two follow-up commits.
The support of compile features and language standards on Orcale
SolarisStudio needs more investigation so for CMake 3.4 we should
just act as 3.3 did.
This commit is contained in:
Brad King
2015-10-08 13:16:18 -04:00
parent 5fdf759478
commit 340d0897fa
3 changed files with 15 additions and 22 deletions

View File

@@ -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