projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake: Only require a C++ compiler
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
856e5fc
..
aa835a5
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-42,7
+42,7
@@
if (USE_CCACHE)
endif()
# Set up project
endif()
# Set up project
-project(Quassel C
C
XX)
+project(Quassel CXX)
# General conveniences
set(CMAKE_AUTOMOC ON)
# 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 various CMake modules
include(CMakePushCheckState)
include(CheckFunctionExists)
-include(CheckIncludeFile)
+include(CheckIncludeFile
CXX
)
include(CheckCXXSourceCompiles)
include(CMakeDependentOption)
include(FeatureSummary)
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 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()
add_feature_info("syslog.h" HAVE_SYSLOG "Provide support for logging to the syslog")
endif()