2012/6/20 Ateljevich, Eli <[email protected]>:
> Addendum: I should add that by now I have taken the failure line, put a space
> in between the two -I components and run it directly in the shell and
> verified it compiles fine (and without the space it fails as in cmake).
Yes right. Collating -I shall fail, no problem.
The question is why your CMakeLists.txt is generating such command line?
As always evil may be in the details.
Would you be able to copy/attach your CMakeLists.txt "verbatim"?
Your previous quote shall not work since
$(NETCDF_INC) is not a proper CMake syntax
CMake uses braces i.e. ${NETCDF_INC} and not parenthesis.
cmake -DCMAKE_Fortran_COMPILER ../src
is wrong as well (no compiler value defined)
and is probably not the good way to chose the Fortran compiler.
Please give us "exact" content (which may be an excerpt) of your
CMakeLists.txt and command lines used.
--
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--
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