Update build script

This commit is contained in:
Tindy X 2019-12-26 22:13:45 +08:00
parent c305b55e4c
commit 6f05d965cc
No known key found for this signature in database
GPG Key ID: C6AD413169968D58

View File

@ -23,6 +23,7 @@ ADD_EXECUTABLE(subconverter
src/webget.cpp
src/webserver_libevent.cpp)
INCLUDE_DIRECTORIES(src)
LINK_DIRECTORIES(${CMAKE_SOURCE_DIR})
SET(THREADS_PREFER_PTHREAD_FLAG ON)
FIND_PACKAGE(Threads REQUIRED)