summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_run/BadLinkLibraries.cmake
blob: a124bf6e19220390ee4511e180186b1548525429 (plain)
1
2
3
4
add_custom_target(not_a_library)
try_run(RUN_RESULT COMPILE_RESULT
  ${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp ${CMAKE_CURRENT_SOURCE_DIR}/src.c
  LINK_LIBRARIES not_a_library)