[CMake] pgf90 error

Brad King brad.king at kitware.com
Fri Nov 20 11:13:59 EST 2009


John Vines (CISD/CIV) wrote:
>   pgf90-Error-Unknown switch: -rdynamic

Due to some historic cruft this compiler is not supported on Linux right now.
In "Modules/Platform/Linux.cmake" comment out the line

  SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")

This is on our TODO list for 2.8.x but we didn't want to mess with the
widely used Linux.cmake platform file just before the 2.8.0 release.

-Brad


More information about the CMake mailing list