myx/MyxCMake/backports/CheckIPOSupported/CMakeLists-C.txt.in
2022-10-09 01:01:31 +03:00

9 lines
220 B
Plaintext

cmake_minimum_required(VERSION "@CMAKE_VERSION@")
project("@TRY_COMPILE_PROJECT_NAME@" LANGUAGES C)
cmake_policy(SET CMP0069 NEW)
add_library(foo foo.c)
add_executable(boo main.c)
target_link_libraries(boo PUBLIC foo)