aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-20 15:15:57 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-20 15:15:57 +0100
commita2b3adbcd3dcd61f7117d98bad3b0b270fb96c7a (patch)
treefcfa152f72bc269a78396cdf6a2a462d683fe3f0 /CMakeLists.txt
parentcc379455b9af020d4a3d16885da92289dc15d458 (diff)
downloadrspamd-a2b3adbcd3dcd61f7117d98bad3b0b270fb96c7a.tar.gz
rspamd-a2b3adbcd3dcd61f7117d98bad3b0b270fb96c7a.zip
Add a hack to fix libcrypto dependency for Solaris.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
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")