diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-08-30 22:55:26 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-08-30 22:55:26 +0200 |
commit | 37c4373dce60b31ccc0100d85d0013aef82809e7 (patch) | |
tree | 5779a0f437ea1a88b91a4a9e6a3c879d216c9d50 /src/qt/CMakeLists.txt | |
parent | 91f695797fac3e1c2d20bea70f8c877d7df03b68 (diff) | |
download | OFQT-37c4373dce60b31ccc0100d85d0013aef82809e7.tar.gz OFQT-37c4373dce60b31ccc0100d85d0013aef82809e7.zip |
implement thread pools
Diffstat (limited to 'src/qt/CMakeLists.txt')
-rw-r--r-- | src/qt/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt index 3702ad5..4a4caf3 100644 --- a/src/qt/CMakeLists.txt +++ b/src/qt/CMakeLists.txt @@ -28,13 +28,10 @@ if(WIN32) list(APPEND QT_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/version.rc) endif() -set(THREADS_PREFER_PTHREAD_FLAG ON) -find_package(Threads REQUIRED) - add_executable(${FRONTEND_NAME} WIN32 ${QT_SOURCES}) target_compile_options(${FRONTEND_NAME} PUBLIC ${CFLAGS}) target_link_libraries(${FRONTEND_NAME} PRIVATE tvn) -target_link_libraries(${FRONTEND_NAME} PRIVATE Threads::Threads) +target_link_libraries(${FRONTEND_NAME} PRIVATE threading) target_link_libraries(${FRONTEND_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Widgets) set_property(TARGET ${FRONTEND_NAME} PROPERTY CXX_STANDARD 11) install(TARGETS ${FRONTEND_NAME}) |