diff --git a/CMakeLists.txt b/CMakeLists.txt index 88de3d4..a0523ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ OPTION(BUILD_WITH_THREAD_SANITIZER "Build with thread sanitizer" OFF) OPTION(USE_FERVOR "Add Fervor support" OFF) OPTION(USE_DYNLOAD "Use dynamic load of modules" ON) -OPTION(USE_SSE "Build with SSE support" OFF) +OPTION(USE_SSE "Build with SSE support" ON) OPTION(USE_WERROR "Warnings as errors" OFF) OPTION(USE_STATIC "Use static libs" OFF) @@ -114,9 +114,8 @@ SET_PACKAGE_PROPERTIES( TYPE OPTIONAL ) -INCLUDE(FetchContent) - IF(BUILD_TESTS) + INCLUDE(FetchContent) FETCHCONTENT_DECLARE(googletest URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip) # For Windows: Prevent overriding the parent project's compiler/linker settings SET(gtest_force_shared_crt @@ -138,7 +137,7 @@ IF(BUILD_TESTS) ENDIF() IF(BUILD_TESTS_CATCH2) - + INCLUDE(FetchContent) FETCHCONTENT_DECLARE( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git diff --git a/lib/CalypFrame.cpp b/lib/CalypFrame.cpp index ec9c2c8..698931a 100644 --- a/lib/CalypFrame.cpp +++ b/lib/CalypFrame.cpp @@ -847,7 +847,7 @@ void CalypFrame::fillRGBBuffer() const ClpPel* pLineV = d->m_pppcInputPel[CLP_CHROMA_V][0]; unsigned int uiChromaStride = CHROMASHIFT( d->m_uiWidth, d->m_pcPelFormat->log2ChromaWidth ); - int iY, iU, iV, iR, iG, iB; + int iR, iG, iB; uint32_t* pARGBLine = pARGB; uint32_t* pARGBAux;