Commit c3f3555 1 parent b6698f6 commit c3f3555 Copy full SHA for c3f3555
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ if(CMAKE_COMPILER_IS_GNUCXX)
7
7
${CMAKE_CXX_COMPILER}
8
8
ARGS --version
9
9
OUTPUT_VARIABLE _compiler_output)
10
- string (REGEX REPLACE ".*([0-9]\\ .[0-9]\\ .[0-9]).*" "\\ 1"
10
+ string (REGEX REPLACE ".*([0-9]\\ .[0-9]\\ .[0-9]).*" "\\ 1"
11
11
gcc_compiler_version
12
12
"${_compiler_output} "
13
13
)
14
14
15
15
message (STATUS "C++ compiler version: ${gcc_compiler_version} [${CMAKE_CXX_COMPILER} ]" )
16
16
17
17
IF (${gcc_compiler_version} MATCHES ".*4\\ .[6789]\\ .[0-9].*" )
18
- #MESSAGE("gcc >= 4.6")
19
- set (GCC_4_6 TRUE )
18
+ #MESSAGE("gcc >= 4.6")
19
+ set (GCC_4_6 TRUE )
20
20
ELSE (${gcc_compiler_version} MATCHES ".*4\\ .[6789]\\ .[0-9].*" )
21
- #MESSAGE("gcc < 4.6")
22
- set (GCC_4_6 FALSE )
21
+ #MESSAGE("gcc < 4.6")
22
+ set (GCC_4_6 FALSE )
23
23
ENDIF (${gcc_compiler_version} MATCHES ".*4\\ .[6789]\\ .[0-9].*" )
24
24
25
25
endif (CMAKE_COMPILER_IS_GNUCXX)
You can’t perform that action at this time.
0 commit comments