Skip to content

Commit

Permalink
modify a 'if' statement
Browse files Browse the repository at this point in the history
  • Loading branch information
s2496214 committed Sep 7, 2024
1 parent 7b19beb commit ee79fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ if(NCNN_OPENMP)
if(NCNN_SIMPLEOMP)
if(IOS OR APPLE)
target_compile_options(ncnn PRIVATE -Xpreprocessor -fopenmp)
elseif(WIN32 OR MSVC)
elseif(MSVC OR WIN32)
target_compile_options(ncnn PRIVATE /openmp)
else()
target_compile_options(ncnn PRIVATE -fopenmp)
Expand Down

0 comments on commit ee79fd0

Please sign in to comment.