BadLinkLibraries.cmake 212 B

1234567
  1. include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
  2. add_custom_target(not_a_library)
  3. try_compile(RESULT ${try_compile_bindir_or_SOURCES}
  4. ${CMAKE_CURRENT_SOURCE_DIR}/src.c
  5. LINK_LIBRARIES not_a_library)