Commit d55fc769 authored by Rashad Kanavath's avatar Rashad Kanavath

COMP: use sse2 on *nix (ITK)

parent d232daa6
......@@ -126,16 +126,18 @@ if (WIN32)
list(APPEND ITK_SB_CONFIG
-DUSE_FFTWF:BOOL=OFF
-DUSE_FFTWD:BOOL=OFF
-DITK_USE_SSE_FLAGS:BOOL=OFF
-DVNL_CONFIG_ENABLE_SSE2:BOOL=OFF
-DVNL_CONFIG_ENABLE_SSE2_ROUNDING:BOOL=OFF
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS:BOOL=ON
)
if(MSVC AND BUILD_SHARED_LIBS)
list(APPEND ITK_SB_CONFIG
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS:BOOL=TRUE)
endif()
else()
list(APPEND ITK_SB_CONFIG
-DUSE_FFTWF:BOOL=ON
-DUSE_FFTWD:BOOL=ON
-DUSE_SYSTEM_FFTW:BOOL=ON
-DITK_USE_SSE_FLAGS:BOOL=ON
)
ADD_SUPERBUILD_CMAKE_VAR(ITK FFTW_INCLUDE_PATH)
endif()
......@@ -166,9 +168,6 @@ ExternalProject_Add(ITK
-DITK_USE_SYSTEM_TIFF:BOOL=ON
-DITK_USE_SYSTEM_PNG:BOOL=ON
-DITK_FORBID_DOWNLOADS:BOOL=ON
-DITK_USE_SSE_FLAGS:BOOL=OFF
-DVNL_CONFIG_ENABLE_SSE2:BOOL=OFF
-DVNL_CONFIG_ENABLE_SSE2_ROUNDING:BOOL=OFF
${ITK_SB_CONFIG}
DEPENDS ${ITK_DEPENDENCIES}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment