diff options
author | Dominik Schmidt <domme@rautelinux.org> | 2014-12-15 15:46:24 +0300 |
---|---|---|
committer | Dominik Schmidt <domme@rautelinux.org> | 2014-12-15 15:46:24 +0300 |
commit | 85364815b6bae84c113f52d8ece9814e315c540c (patch) | |
tree | 6608ff16e8930f7ddd73b98c28b1baac489f4d70 | |
parent | 949fc6c8e8ffff4c0bae2cf64989c3e3872d9b79 (diff) |
Untested: don't replace when CMAKE_CXX_FLAGS is not set
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4da579f..8a1fcf4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) project(libcrashreporter-qt) -if(CMAKE_COMPILER_IS_GNUCXX) +if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_FLAGS) # Breakpad uses GNU compiler extensions like typeof. # Luckily these features are not used on OSX, so we can build the # crashreporter there with the normal C++11 standard. |