diff options
author | Christophe Giboudeaux <christophe@krop.fr> | 2018-08-21 17:02:27 +0200 |
---|---|---|
committer | Christophe Giboudeaux <christophe@krop.fr> | 2018-08-21 17:02:27 +0200 |
commit | 713eea015ac0813f83fcb5e741a752822e6b0314 (patch) | |
tree | 5f7cdd67974d257ee88a8de41691d99053d95a89 /CMakeLists.txt | |
parent | aadd8d1af7973686d67d06fd927f0b6044cc9598 (diff) | |
download | libical-git-713eea015ac0813f83fcb5e741a752822e6b0314.tar.gz |
Look for a CXX compiler if WITH_CXX_BINDINGS is true
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d761d034..c9c29a92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -539,6 +539,7 @@ endif() option(WITH_CXX_BINDINGS "Build the C++ bindings." True) if(WITH_CXX_BINDINGS) + enable_language(CXX) if(CMAKE_CXX_COMPILER) add_definitions(-DWITH_CXX_BINDINGS) else() |