1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-10 10:33:29 -05:00

Added check in main CmakeLists.txt to abort if gcc version is less than 4.9

This commit is contained in:
f4exb 2017-12-16 10:03:38 +01:00
parent 19426a4536
commit acc3a84190

View File

@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 3.1.0)
cmake_policy(SET CMP0043 OLD)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9")
message(FATAL_ERROR "SDRangel requires GCC version 4.9 or higher!")
endif()
# QT Framework
set(CMAKE_PREFIX_PATH "/Applications/Qt/5.7/clang_64/lib/cmake")