mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 12:18:51 +00:00
cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB
This commit is contained in:
parent
0a1ddc2eff
commit
4969f39c09
@ -134,7 +134,7 @@ if ( LibUSB_FOUND )
|
|||||||
|
|
||||||
try_compile(LibUSB_COMPILE_TEST_PASSED
|
try_compile(LibUSB_COMPILE_TEST_PASSED
|
||||||
${CMAKE_BINARY_DIR}
|
${CMAKE_BINARY_DIR}
|
||||||
"${CMAKE_SOURCE_DIR}/cmake/test-libusb-version.c"
|
"${CMAKE_CURRENT_LIST_DIR}/test-libusb-version.c"
|
||||||
CMAKE_FLAGS
|
CMAKE_FLAGS
|
||||||
"-DINCLUDE_DIRECTORIES=${LibUSB_INCLUDE_DIRS}"
|
"-DINCLUDE_DIRECTORIES=${LibUSB_INCLUDE_DIRS}"
|
||||||
"-DLINK_DIRECTORIES=${LibUSB_LIBRARIES}"
|
"-DLINK_DIRECTORIES=${LibUSB_LIBRARIES}"
|
||||||
|
Loading…
Reference in New Issue
Block a user