Skip to content

Commit

Permalink
fix(pybind11): build error (#4368)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisonooo committed Nov 25, 2022
1 parent 47c4ab7 commit bdcbc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ else()
option(NCNN_BUILD_EXAMPLES "build examples" ON)
endif()

if(ANDROID OR IOS OR LINUX OR NCNN_SIMPLESTL)
if(ANDROID OR IOS OR NCNN_SIMPLESTL)
option(NCNN_DISABLE_EXCEPTION "disable exception" ON)
else()
option(NCNN_DISABLE_EXCEPTION "disable exception" OFF)
Expand Down

0 comments on commit bdcbc37

Please sign in to comment.