Skip to content

Instantly share code, notes, and snippets.

@Bigcheese
Created March 25, 2014 00:07
Show Gist options
  • Save Bigcheese/9752186 to your computer and use it in GitHub Desktop.
Save Bigcheese/9752186 to your computer and use it in GitHub Desktop.
CMake Warning (dev) in C:/Users/mspencer/Projects/llvm-project/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "clangDynamicASTMatchers" has an INTERFACE_LINK_LIBRARIES property.
This should be preferred as the source of the link interface for this
library but because CMP0022 is not set CMake is ignoring the property and
using the link implementation as the link interface instead.
INTERFACE_LINK_LIBRARIES:
clangAST;clangASTMatchers;clangBasic;LLVMSupport
Link implementation:
(empty)
This warning is for project developers. Use -Wno-dev to suppress it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment