Skip to content

Commit 606edc4

Browse files
ssh4netlgritz
andauthored
Update CMakeLists.txt
Co-authored-by: Larry Gritz <lg@larrygritz.com> Signed-off-by: Vlad Erium <shaamaan@gmail.com>
1 parent 6571c14 commit 606edc4

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,7 @@ else ()
112112
endif ()
113113
option (${PROJ_NAME}_BUILD_TOOLS "Build the command-line tools" ON)
114114
option (${PROJ_NAME}_BUILD_TESTS "Build the unit tests" ON)
115-
116-
# Google Highway SIMD acceleration for selected ImageBufAlgo ops. This is an
117-
# optional optimization dependency: if enabled but not found, it will be
118-
# compiled out.
119-
#
120-
# Back-compat: honor -DUSE_HWY=OFF by mapping it to OIIO_USE_HWY if the latter
121-
# was not explicitly provided.
122-
if (DEFINED USE_HWY AND NOT DEFINED OIIO_USE_HWY)
123-
set (OIIO_USE_HWY ${USE_HWY} CACHE BOOL
124-
"Enable Google Highway SIMD optimizations (if Highway is available)" FORCE)
125-
else ()
126-
option (OIIO_USE_HWY "Enable Google Highway SIMD optimizations (if Highway is available)" ON)
127-
endif ()
128-
115+
option (OIIO_USE_HWY "Enable experimental Google Highway SIMD optimizations (if Highway is available)" OFF)
129116
set (OIIO_LIBNAME_SUFFIX "" CACHE STRING
130117
"Optional name appended to ${PROJECT_NAME} libraries that are built")
131118
option (BUILD_OIIOUTIL_ONLY "If ON, will build *only* libOpenImageIO_Util" OFF)

0 commit comments

Comments
 (0)