mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
w32-pthreads: Add pthread.h as public header
When exporting w32-pthreads, the public header file `pthread.h` needs to be exported as well to expose the implemented functionality.
This commit is contained in:
parent
9650109748
commit
6adb973b6a
3
deps/w32-pthreads/CMakeLists.txt
vendored
3
deps/w32-pthreads/CMakeLists.txt
vendored
|
@ -19,7 +19,8 @@ target_compile_definitions(w32-pthreads PRIVATE __CLEANUP_C PTW32_BUILD)
|
|||
target_include_directories(
|
||||
w32-pthreads PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")
|
||||
|
||||
set_target_properties(w32-pthreads PROPERTIES FOLDER "deps")
|
||||
set_target_properties(w32-pthreads PROPERTIES FOLDER "deps" PUBLIC_HEADER
|
||||
"pthread.h;sched.h")
|
||||
|
||||
setup_binary_target(w32-pthreads)
|
||||
export_target(w32-pthreads)
|
||||
|
|
Loading…
Reference in a new issue