summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/BadLinkLibraries.cmake
blob: e8b5add873c9a9ab93d25a6a527380a9c628c222 (plain)
1
2
3
add_custom_target(not_a_library)
try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
  LINK_LIBRARIES not_a_library)