Skip to content

Commit

Permalink
revert cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise authored Dec 4, 2023
1 parent d3a9dff commit 9507e2d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ endif()

if(NOT USE_SYSTEM_NCNN)
# build ncnn library

if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/ncnn/CMakeLists.txt")
message(FATAL_ERROR "The submodules were not downloaded! Please update submodules with \"git submodule update --init --recursive\" and try again.")
endif()

option(NCNN_INSTALL_SDK "" OFF)
option(NCNN_PIXEL_ROTATE "" OFF)
Expand Down Expand Up @@ -214,7 +216,9 @@ endif()

if(NOT USE_SYSTEM_WEBP)
# build libwebp library

if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/libwebp/CMakeLists.txt")
message(FATAL_ERROR "The submodules were not downloaded! Please update submodules with \"git submodule update --init --recursive\" and try again.")
endif()

option(WEBP_ENABLE_SIMD "" ON)
option(WEBP_BUILD_ANIM_UTILS "" OFF)
Expand Down

0 comments on commit 9507e2d

Please sign in to comment.