w32-pthreads: Fully export library (MSVC)
Allows the library to be used by external plugins
This commit is contained in:
5
deps/w32-pthreads/CMakeLists.txt
vendored
5
deps/w32-pthreads/CMakeLists.txt
vendored
@@ -19,7 +19,8 @@ add_library(w32-pthreads SHARED
|
||||
target_compile_definitions(w32-pthreads
|
||||
PRIVATE __CLEANUP_C PTW32_BUILD)
|
||||
target_include_directories(w32-pthreads
|
||||
PUBLIC .)
|
||||
PUBLIC
|
||||
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")
|
||||
target_link_libraries(w32-pthreads)
|
||||
|
||||
install_obs_core(w32-pthreads)
|
||||
install_obs_core(w32-pthreads EXPORT w32-pthreads)
|
||||
|
Reference in New Issue
Block a user