From: Vsevolod Stakhov Date: Sat, 16 Sep 2017 18:50:23 +0000 (+0100) Subject: [Minor] Another try to fix brain-damaged torch build system X-Git-Tag: 1.7.0~635 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edc592085458130b6e4aebeccc7ce45ea920d97a;p=thirdparty%2Frspamd.git [Minor] Another try to fix brain-damaged torch build system --- diff --git a/contrib/torch/torch7/lib/TH/CMakeLists.txt b/contrib/torch/torch7/lib/TH/CMakeLists.txt index 1696f5b3f9..fdaec267cc 100644 --- a/contrib/torch/torch7/lib/TH/CMakeLists.txt +++ b/contrib/torch/torch7/lib/TH/CMakeLists.txt @@ -170,7 +170,6 @@ IF(C_AVX2_FOUND OR C_AVX_FOUND OR C_SSE4_2_FOUND OR C_SSE4_1_FOUND) ENDIF(C_AVX2_FOUND OR C_AVX_FOUND OR C_SSE4_2_FOUND OR C_SSE4_1_FOUND) # IF SSE4 FOUND -IF(FALSE) IF(C_SSE4_1_FOUND AND C_SSE4_2_FOUND) SET(CMAKE_C_FLAGS "${C_SSE4_1_FLAGS} -DUSE_SSE4_1 ${C_SSE4_2_FLAGS} -DUSE_SSE4_2 ${CMAKE_C_FLAGS}") IF(MSVC) @@ -180,7 +179,6 @@ IF(C_SSE4_1_FOUND AND C_SSE4_2_FOUND) ENDIF(MSVC) SET(simd ${simd} generic/simd/convolve5x5_sse.c) ENDIF(C_SSE4_1_FOUND AND C_SSE4_2_FOUND) -ENDIF() # IF AVX FOUND IF(FALSE)