diff options
author | selsta <selsta@sent.at> | 2021-05-09 01:24:34 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-08-01 15:47:11 +0200 |
commit | 402ba046e02a552c42a384d0512f93523be67928 (patch) | |
tree | 3d5df6b40920e73a1d9ac0b0674c305e60e2a053 | |
parent | epee: include public openssl header in cmake (diff) | |
download | monero-402ba046e02a552c42a384d0512f93523be67928.tar.xz |
cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB
-rw-r--r-- | cmake/FindLibUSB.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindLibUSB.cmake b/cmake/FindLibUSB.cmake index 79d8fba75..6944c6c45 100644 --- a/cmake/FindLibUSB.cmake +++ b/cmake/FindLibUSB.cmake @@ -134,7 +134,7 @@ if ( LibUSB_FOUND ) try_compile(LibUSB_COMPILE_TEST_PASSED ${CMAKE_BINARY_DIR} - "${CMAKE_SOURCE_DIR}/cmake/test-libusb-version.c" + "${CMAKE_CURRENT_LIST_DIR}/test-libusb-version.c" CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${LibUSB_INCLUDE_DIRS}" "-DLINK_DIRECTORIES=${LibUSB_LIBRARIES}" |