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

9 lines
226 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 Fortran)
cmake_policy(SET CMP0069 NEW)
add_library(foo foo.f)
add_executable(boo main.f)
target_link_libraries(boo PUBLIC foo)