w32-pthreads: Fully export library (MSVC)
Allows the library to be used by external plugins
This commit is contained in:
15
deps/w32-pthreads/w32-pthreadsConfig.cmake.in
vendored
Normal file
15
deps/w32-pthreads/w32-pthreadsConfig.cmake.in
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# - Config file for the w32-pthreads package
|
||||
# It defines the following variables
|
||||
# THREADS_INCLUDE_DIRS
|
||||
# THREADS_LIBRARIES
|
||||
|
||||
set(W32_PTHREADS_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
|
||||
|
||||
# Cleanup possible relative paths
|
||||
get_filename_component(W32_PTHREADS_INCLUDE_DIRS "${THREADS_INCLUDE_DIRS}" ABSOLUTE)
|
||||
|
||||
if(NOT TARGET w32-pthreads)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/w32-pthreadsTarget.cmake")
|
||||
endif()
|
||||
|
||||
set(W32_PTHREADS_LIBRARIES w32-pthreads)
|
Reference in New Issue
Block a user