1
0

Update SetFlags.cmake

This commit is contained in:
worktycho 2014-09-06 18:11:42 +01:00
parent 562b2d1d1d
commit 22b4511640

View File

@ -210,7 +210,6 @@ macro(get_clang_version)
execute_process(
COMMAND "${CMAKE_CXX_COMPILER}" "--version"
OUTPUT_VARIABLE CLANG_VERSION_OUTPUT)
message(${CLANG_VERSION_OUTPUT})
string(REGEX MATCH "version ([0-9]\\.[0-9])" x ${CLANG_VERSION_OUTPUT})
set(CLANG_VERSION ${CMAKE_MATCH_1})
endmacro()