Skip to content

Commit

Permalink
Making CMake Threads not required.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Jul 6, 2020
1 parent accc5a8 commit 7b322a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -303,7 +303,7 @@ endforeach()
# Threading library -- uses IMPORTED target Threads::Threads (since CMake 3.1)
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package(Threads REQUIRED)
find_package(Threads)
target_link_libraries(openshot PUBLIC Threads::Threads)

################### OPENMP #####################
Expand Down

0 comments on commit 7b322a0

Please sign in to comment.