From 7e916474dbcc2dd5dd02281367bcb4f061eed0ef Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Thu, 7 Dec 2023 09:02:52 -0700 Subject: [PATCH] CMake/MSVC: Remove stale OIIO sse flag We disabled SSE for OIIO headers in the days we still supported 32 bit builds, as it was giving build errors there. OIIO handles this internally now so we no longer need to explicitly disable it, also we stopped shipping 32 bit quite a while ago --- build_files/cmake/platform/platform_win32.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake index 03895918e16..56801c4a4cf 100644 --- a/build_files/cmake/platform/platform_win32.cmake +++ b/build_files/cmake/platform/platform_win32.cmake @@ -674,7 +674,6 @@ if(NOT OpenImageIO_FOUND) set(OPENIMAGEIO_LIBRARIES ${OIIO_OPTIMIZED} ${OIIO_DEBUG}) set(OPENIMAGEIO_IDIFF "${OPENIMAGEIO}/bin/idiff.exe") endif() -add_definitions(-DOIIO_NO_SSE=1) if(WITH_LLVM) set(LLVM_ROOT_DIR ${LIBDIR}/llvm CACHE PATH "Path to the LLVM installation")