myx/MyxCMake/backports/CheckIPOSupported/CMakeLists-C.txt.in

9 lines
220 B
Plaintext
Raw Normal View History

2022-10-08 22:01:31 +00:00
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)