Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / RunCMake / try_compile / BadLinkLibraries.cmake
1 include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
2
3 add_custom_target(not_a_library)
4
5 try_compile(RESULT ${try_compile_bindir_or_SOURCES}
6   ${CMAKE_CURRENT_SOURCE_DIR}/src.c
7   LINK_LIBRARIES not_a_library)