[CMake] [windows][fortran][Unix Makefiles] Bug with CMAKE_AR expansion

Maik Beckmann beckmann.maik at googlemail.com
Mon Oct 4 08:14:56 EDT 2010


The problem seem to be triggered the fact that the toplevel
CMakeLists.txt (
http://gitorious.org/hdf5/hdf5-v18/blobs/master/CMakeLists.txt )
contains
  PROJECT (HDF5 C CXX)
and another CMakeLists.txt in a subdirectory (
http://gitorious.org/hdf5/hdf5-v18/blobs/master/hl/fortran/CMakeLists.txt
)
  PROJECT(HDF5_HL_F90 C CXX Fortran)
because the problem vanishes when I add Fortran to the list of
languages in the toplevel CMakeLists.txt
  PROJECT (HDF5 C CXX Fortran)

This workaround works for me, but is of course not a solution for the
maintainer of  http://gitorious.org/hdf5/hdf5-v18 .


More information about the CMake mailing list