Re: [CMake] Error: no cmake_fortran_compiler could be found.

2016-09-02 Thread Konstantin Tokarev
01.09.2016, 23:22, "ning...@ghiocel-tech.com" : > Dear There, > > This is first time to use CMAKE. I got the error that says "no > cmake_fortran_compiler could be found." > I use it on Windows 8.1, which have installed Visual Studio Community 2015, > Intel FORTRAN Composer XE 2013, and CUDA 7.0

[CMake] Include directories problem when cross compiling with MinGW

2016-09-02 Thread David Demelier
Hello, I'm trying to cross compile a project on Arch Linux using MinGW for Windows. I've installed a lot of libraries from their AUR into /usr/x86_64-w64- mingw32. This seems okay as CMake finds every library needed. My example project consists of: cmake_minimum_required(VERSION 3.5) project(te