Modules/Platform/HP-UX.cmake has:
  SET(CMAKE_SHARED_LIBRARY_SUFFIX ".sl")
  SET(CMAKE_FIND_LIBRARY_SUFFIXES ".sl" ".so" ".a")

On HP-UX/PA, shared libraries end in ".sl". On HP-UX/IA, they can end
in ".sl" or ".so", with ".so" being preferred. So, for HP-UX/IA, the
above should be:
  SET(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
  SET(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".sl" ".a")

Is it possible to have one Modules/Platform/HP-UX.cmake with both
changes depending on PA/IA?

-- 
albert chin ([EMAIL PROTECTED])
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to