Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
29e3d1971514f20a4320e7072832b9882c444ee8
/
.
/
Tests
/
RunCMake
/
try_run
/
BadLinkLibraries.cmake
blob: 950a94253219c7d4e396307f8f50f28daff42d6c [
file
] [
log
] [
blame
]
include
(
$
{
CMAKE_CURRENT_SOURCE_DIR
}/
$
{
try_compile_DEFS
})
add_custom_target
(
not_a_library
)
try_run
(
RUN_RESULT COMPILE_RESULT $
{
try_compile_bindir_or_SOURCES
}
$
{
CMAKE_CURRENT_SOURCE_DIR
}/
src
.
c
LINK_LIBRARIES not_a_library
)