mirror of https://github.com/microsoft/vcpkg.git
[pthreads] add version resource and fix problem with PTW32_ARCH when compiling resource.
Signed-off-by: krismattheus <kris.mattheus@visionbms.com>
This commit is contained in:
parent
d40eb18174
commit
2cad8b53dd
|
|
@ -28,6 +28,7 @@ set(PTHREAD_SHARED_SOURCES
|
|||
sync.c
|
||||
tsd.c
|
||||
attr.C
|
||||
version.rc
|
||||
)
|
||||
set(PTHREAD_STATIC_SOURCES
|
||||
autostatic.c
|
||||
|
|
@ -169,8 +170,7 @@ set(PTHREAD_STATIC_SOURCES
|
|||
|
||||
|
||||
|
||||
option(PTW32_ARCH "x32")
|
||||
add_definitions(-DPTW32_ARCH=${PTW32_ARCH} -DPTW32_RC_MSC -DHAVE_PTW32_CONFIG_H -D_TIMESPEC_DEFINED)
|
||||
add_definitions(-DPTW32_ARCH="${PTW32_ARCH}" -DPTW32_RC_MSC -DHAVE_PTW32_CONFIG_H -D_TIMESPEC_DEFINED)
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(PTHREAD_SOURCES ${PTHREAD_SHARED_SOURCES})
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
Source: pthreads
|
||||
Version: 2.9.1-2
|
||||
Version: 2.9.1-3
|
||||
Description: pthreads for windows
|
||||
|
|
|
|||
Loading…
Reference in New Issue