mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
[win-pthreads] correctly handle static libs
This commit is contained in:
@ -70,7 +70,7 @@ if( PThreads_windows_FOUND AND NOT TARGET PThreads_windows::PThreads_windows )
|
|||||||
else()
|
else()
|
||||||
add_library( PThreads_windows::PThreads_windows UNKNOWN IMPORTED )
|
add_library( PThreads_windows::PThreads_windows UNKNOWN IMPORTED )
|
||||||
set_target_properties( PThreads_windows::PThreads_windows PROPERTIES
|
set_target_properties( PThreads_windows::PThreads_windows PROPERTIES
|
||||||
IMPORTED_LOCATION_RELEASE "${PThreads_windows_LIBRARY}"
|
IMPORTED_LOCATION_RELEASE "${PThreads_windows_LIBRARY_RELEASE}"
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${PThreads_windows_INCLUDE_DIR}"
|
INTERFACE_INCLUDE_DIRECTORIES "${PThreads_windows_INCLUDE_DIR}"
|
||||||
IMPORTED_CONFIGURATIONS Release
|
IMPORTED_CONFIGURATIONS Release
|
||||||
IMPORTED_LINK_INTERFACE_LANGUAGES "C" )
|
IMPORTED_LINK_INTERFACE_LANGUAGES "C" )
|
||||||
|
Reference in New Issue
Block a user