On 07/06/2015 09:13 AM, Radovan Bast wrote: > SOMEDEF is defined at compile time. Attached is a tarball that contains > the CMakeLists.txt which defines SOMEDEF, a main.F90 and a mymodule.F90 > which contains the module which is not built prior to building main.F90.
Thanks. I've drafted a fix and a test case: Fortran: Fix passing of preprocessor definitions to dependency scanner http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a203db5 If it passes nightly testing I'll merge it to 'release' for 3.3. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers