summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-stderr.txt
blob: 0014c16c40d2f2d53ea175231a3d40e864f614be (plain)
1
2
3
4
5
6
7
8
9
10
11
CMake Error at add_library.cmake:2 \(add_library\):
  Error evaluating generator expression:

    \$<COMPILE_LANG_AND_ID:C,MSVC>

  \$<COMPILE_LANG_AND_ID:lang,id> may only be used with binary targets to
  specify include directories, compile definitions, and compile options.  It
  may not be used with the add_custom_command, add_custom_target, or
  file\(GENERATE\) commands.
Call Stack \(most recent call first\):
  CMakeLists.txt:3 \(include\)