We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145d68a commit 60d0187Copy full SHA for 60d0187
libkineto/CMakeLists.txt
@@ -104,7 +104,7 @@ if(NOT LIBKINETO_NOCUPTI)
104
105
if(NOT USE_CUPTI_SO)
106
include(CheckCXXSourceRuns)
107
- set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} "dl" "pthread" $<LINK_LIBRARY:WHOLE_ARCHIVE,${cupti_LIBRARY}>)
+ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} $<LINK_LIBRARY:WHOLE_ARCHIVE,${cupti_LIBRARY}>)
108
109
check_cxx_source_runs("#include <stdexcept>
110
int main() {
0 commit comments