Am Freitag, 1. April 2016, 16:20:10 schrieb Nils Gladitz:
> On 04/01/2016 02:44 PM, melven.roehrig-zoell...@dlr.de wrote:
> > Patch for a problem with find_package(BLAS/LAPACK) on Windows for pure
> > Fortran projects reported by me in
> > https://cmake.org/Bug/view.php?id=16039.
> This might be a use case for the newish IN_LIST operator?
> 
> e.g. if(Fortran IN_LIST _LANGUAGES_)

Why not simply:

 if (CMAKE_Fortran_COMPILER_LOADED)

Greetings,

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 

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

Reply via email to