Skip to content

Regression: Target property Fortran_PREPROCESS is no longer initialized from CMAKE_Fortran_PREPROCESS

The following code

cmake_minimum_required(VERSION 3.27)
project(ftest LANGUAGES Fortran)
set(CMAKE_Fortran_PREPROCESS ON)
add_executable(ftest test.f90)

will no longer have CMake set the -cpp option for gfortran. Explicitly using set_target_properties(ftest PROPERTIES Fortran_PREPROCESS ON) still works.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information