summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkWhatYouUse/C.cmake
blob: 4c3f428284dda7b82136284dc7e68e7424ff6149 (plain)
1
2
3
4
enable_language(C)
set(CMAKE_LINK_WHAT_YOU_USE TRUE)
add_executable(main main.c)
target_link_libraries(main m)