67fcc838d9
Use the ENV{LIB} variable directly instead of parsing the output of the whole environment from "set". Store the output in a .cmake script and include it from CMakeDetermineCompilerABI instead of using file(READ).
8 lines
244 B
CMake
8 lines
244 B
CMake
cmake_minimum_required (VERSION 2.8)
|
|
project(IntelFortranImplicit Fortran)
|
|
add_custom_command(
|
|
OUTPUT output.cmake
|
|
COMMAND ${CMAKE_COMMAND} -P ${IntelFortranImplicit_SOURCE_DIR}/detect.cmake
|
|
)
|
|
add_library(FortranLib hello.f output.cmake)
|