File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER)
34
34
RESULT_VARIABLE result
35
35
)
36
36
STRING (REGEX MATCH "CC: Sun C\\ +\\ + 5\\ .([0-9]+)" VERSION_STRING ${stderr} )
37
- SET (MINOR_VERSION ${CMAKE_MATCH_1} )
38
- IF (${MINOR_VERSION } LESS 11)
37
+ SET (CC_MINOR_VERSION ${CMAKE_MATCH_1} )
38
+ IF (${CC_MINOR_VERSION } LESS 11)
39
39
MESSAGE (FATAL_ERROR "SunStudio 12u2 or newer is required!" )
40
40
ENDIF ()
41
41
ELSE ()
Original file line number Diff line number Diff line change @@ -199,9 +199,9 @@ IF(CMAKE_SYSTEM_NAME MATCHES "SunOS" AND
199
199
ENDIF ()
200
200
201
201
STRING (REGEX MATCH "CC: Sun C\\ +\\ + 5\\ .([0-9]+)" VERSION_STRING ${stderr} )
202
- SET (MINOR_VERSION ${CMAKE_MATCH_1} )
202
+ SET (CC_MINOR_VERSION ${CMAKE_MATCH_1} )
203
203
204
- IF (${MINOR_VERSION } EQUAL 13)
204
+ IF (${CC_MINOR_VERSION } EQUAL 13)
205
205
SET (STLPORT_SUFFIX "lib/compilers/stlport4" )
206
206
IF (SIZEOF_VOIDP EQUAL 8 AND CMAKE_SYSTEM_PROCESSOR MATCHES "sparc" )
207
207
SET (STLPORT_SUFFIX "lib/compilers/stlport4/sparcv9" )
You can’t perform that action at this time.
0 commit comments