if((USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY) OR WIN32 OR(${CMAKE_CXX_COMPILER_ID} MATCHES Clang))
if(NOT GCC_IS_LESS_THAN_4_2 AND(USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY) OR WIN32 OR(${CMAKE_CXX_COMPILER_ID} MATCHES Clang))