X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=aa835a5e64447641cb41686482ae3ef04fa77289;hp=856e5fca9716302c42fc5d40c1fd5e02a448f296;hb=e900ab99c3ab96fa8aed781785fe94b21c8c7890;hpb=6718d7a1ccd42d7aae75e57d6974e0b1e0384044 diff --git a/CMakeLists.txt b/CMakeLists.txt index 856e5fca..aa835a5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ if (USE_CCACHE) endif() # Set up project -project(Quassel C CXX) +project(Quassel CXX) # General conveniences set(CMAKE_AUTOMOC ON) @@ -51,7 +51,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) # Include various CMake modules include(CMakePushCheckState) include(CheckFunctionExists) -include(CheckIncludeFile) +include(CheckIncludeFileCXX) include(CheckCXXSourceCompiles) include(CMakeDependentOption) include(FeatureSummary) @@ -490,7 +490,7 @@ add_feature_info("SSL support in Qt" HAVE_SSL "Use secure network connections") # Check for syslog support if (NOT WIN32) - check_include_file(syslog.h HAVE_SYSLOG) + check_include_file_cxx(syslog.h HAVE_SYSLOG) add_feature_info("syslog.h" HAVE_SYSLOG "Provide support for logging to the syslog") endif()