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 .
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to