CMake Warning (dev) in data-plane/suricata-3.0/src/CMakeLists.txt: Policy CMP0111 is not set: An imported target missing its location property fails during generation. Run "cmake --help-policy CMP0111" for policy details. Use the cmake_policy command to set the policy and suppress this warning. IMPORTED_LOCATION not set for imported target "nanomsg". This warning is for project developers. Use -Wno-dev to suppress it.
时间: 2024-03-14 16:48:42 浏览: 374
CMakeLists.txt
5星 · 资源好评率100%
这是一个 CMake 的警告信息,意思是某个名为 "nanomsg" 的外部库的导入目标的属性 IMPORTED_LOCATION 没有被设置。这可能导致编译过程中出现问题。要解决这个警告,可以通过设置 CMake 的策略 CMP0111 来禁用它,或者在 CMakeLists.txt 文件中设置该导入目标的 IMPORTED_LOCATION 属性。如果你不是开发者,可以使用 -Wno-dev 参数来忽略该警告。
阅读全文