From 0dd0e9ffd2dc9fc51406c1a274817ece0a37a20d Mon Sep 17 00:00:00 2001 From: Alain Miniussi Date: Tue, 28 Apr 2015 20:06:53 +0200 Subject: [PATCH 1/2] Specifiy the project's language. If the language is not explicitly specified, the default choice is C and C++. But apparenty, if one decided to change both compilers n the cmake command line, only the first is considered, which can cause some (small) trouble. --- CMake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/CMakeLists.txt b/CMake/CMakeLists.txt index 6964749..3e68a76 100644 --- a/CMake/CMakeLists.txt +++ b/CMake/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0) -project("LibraryStatus") +project("LibraryStatus" CXX) # # Compiler settings - special settings for known compilers From 1b376057bcc2bb05889e0040ee30a4623decfade Mon Sep 17 00:00:00 2001 From: Alain Miniussi Date: Tue, 28 Apr 2015 20:15:13 +0200 Subject: [PATCH 2/2] Relax the cmake version min. I just tried with 2.8.12 and it worked. --- CMake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/CMakeLists.txt b/CMake/CMakeLists.txt index 3e68a76..3189843 100644 --- a/CMake/CMakeLists.txt +++ b/CMake/CMakeLists.txt @@ -1,6 +1,6 @@ # CMake build control file for Library Status -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8.12) project("LibraryStatus" CXX)