Browse Source

Disable tests when compiling with clang++ on Tavis CI

merge-requests/365/head
eidheim 10 years ago
parent
commit
3ed4a2d3ae
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -10,7 +10,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
endif() endif()
if(NOT (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") AND (NOT $ENV{distribution} STREQUAL "")))
if(ENABLE_TESTING) if(ENABLE_TESTING)
enable_testing() enable_testing()
add_subdirectory(tests) add_subdirectory(tests)
endif() endif()
endif()

Loading…
Cancel
Save