Skip to content

Commit

Permalink
Try to help it find pthreads on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Dec 30, 2024
1 parent ffaa608 commit ff01f3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/rtlsdr/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/rtlsdr)
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()

if(VCPKG_TARGET_IS_WIN32)
find_package(PThreads4W REQUIRED)
endif()

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
Expand Down

0 comments on commit ff01f3f

Please sign in to comment.