diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 53b9dc531..fa83ad866 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -269,9 +269,9 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS") ENDIF(NOT BUILD_CPU_MODE) IF("${CMAKE_C_COMPILER_ID}" MATCHES SunPro) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xa -xregs=no%frameptr -xstrconst -xc99") - set(SUN_BUILD32 "-xtarget=generic") - set(SUN_BUILD64 "-xtagret=generic64") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xa -xregs=no%frameptr -xstrconst -xc99") + SET(SUN_BUILD32 "-xtarget=generic") + SET(SUN_BUILD64 "-xtarget=generic64") IF(ENABLE_OPTIMIZATION MATCHES "ON") SET(CMAKE_C_OPT_FLAGS "-fast -xdepend") ELSE(ENABLE_OPTIMIZATION MATCHES "ON") |