Fix libusb not building on macOS

This commit is contained in:
pascal 2024-03-06 14:33:55 +01:00
parent bf5d74e941
commit 96bef45ac9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
message(FATAL_ERROR "Required program `autoconf` not found.")
endif()
find_program(LIBTOOLIZE libtoolize)
find_program(LIBTOOLIZE glibtoolize)
if ("${LIBTOOLIZE}" STREQUAL "LIBTOOLIZE-NOTFOUND")
message(FATAL_ERROR "Required program `libtoolize` not found.")
endif()