I have a question that is essentially what Levent Yilmaz(leventyilmaz at gmail.com) submitted on 'Thu May 15 22:31:36 EDT 2008'. I found his question on the web, its subject is the subject I am using. I am using pgi 9.0.4(which I believe is important) and I have a Fortran program called hello.f90(which does basically what you would think) and my CMakeLists.txt is just:
project(Hello Fortran) cmake_minimum_required(VERSION 2.6) add_executable(hello hello.f90) and when I do cmake CMakeLists.txt I get two errors; pgf95-Error-Unknown switch: -fpp pgf95-Error-Unknown switch: -rdynamic actually he only gets the second error. I am using cmake/2.8.0-rc2. I've attached the CMakeError.log. How can I get Cmake to suppress these two flags? Strange enough this works under cmake 2.6.4(meaning these two flags are not used). -Jason Slemons
CMakeError.log
Description: CMakeError.log
_______________________________________________ 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
