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 49dd99a commit b9795bcCopy full SHA for b9795bc
cmake/FindLZ4.cmake
@@ -17,7 +17,7 @@ find_package_handle_standard_args(LZ4 DEFAULT_MSG LZ4_LIBRARIES LZ4_INCLUDE_DIRS
17
18
mark_as_advanced(LZ4_LIBRARIES LZ4_INCLUDE_DIRS)
19
20
-if(LZ4_FOUND AND NOT LZ4::LZ4)
+if(LZ4_FOUND AND NOT TARGET LZ4::LZ4)
21
add_library(LZ4::LZ4 UNKNOWN IMPORTED)
22
set_target_properties( LZ4::LZ4 PROPERTIES
23
INTERFACE_INCLUDE_DIRECTORIES "${LZ4_INCLUDE_DIRS}"
0 commit comments