https://github.com/Kitware/CMake
Revision dad271e8b7eec9ce781bccb9e7e7c9ed4f55003c authored by Brad King on 17 June 2019, 12:03:29 UTC, committed by Brad King on 17 June 2019, 12:03:29 UTC
2 parent s 3d82163 + 276b56f
Raw File
Tip revision: dad271e8b7eec9ce781bccb9e7e7c9ed4f55003c authored by Brad King on 17 June 2019, 12:03:29 UTC
Merge branch 'FindBLAS-OpenBLAS-thread' into release-3.15
Tip revision: dad271e
CMakeLists-Fortran.txt.in
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)
back to top