Fixed CMakeLists.txt for 'oven' to work in Linux

This commit is contained in:
Oren Hurvitz 2018-04-17 12:14:45 +03:00
parent 5cdcf1c53e
commit 50eaf3e166

View file

@ -11,7 +11,7 @@ if (WIN32)
elseif (UNIX AND NOT APPLE)
find_package(Threads REQUIRED)
if(THREADS_HAVE_PTHREAD_ARG)
target_compile_options(PUBLIC oven "-pthread")
target_compile_options(oven PUBLIC "-pthread")
endif()
elseif (APPLE)
# Fix up the rpath so macdeployqt works