Commit e14a8d3a authored by Thomas Braun's avatar Thomas Braun
Browse files

src/include/tango/common/log4tango/CMakeLists.txt: Remove threads check

We already check for that via find_package(Threads REQUIRED).
parent bb65e252
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -23,15 +23,10 @@ set(LOG4TANGO_HEADERS
    ${CMAKE_CURRENT_BINARY_DIR}/config.h)

include(CheckIncludeFile)
include(FindThreads)

CHECK_INCLUDE_FILE_CXX("io.h" LOG4TANGO_HAVE_IO_H)
CHECK_INCLUDE_FILE_CXX("unistd.h" LOG4TANGO_HAVE_UNISTD_H)

if(NOT DEFINED Threads_FOUND)
  message(FATAL_ERROR "Could not find a suitable threading library")
endif()

configure_file(config.h.in config.h)

install(FILES ${LOG4TANGO_HEADERS} DESTINATION