Hello,
according to http://www.cmake.org/Bug/view.php?id=5195 it's normal that
PREFIX and SUFFIX are write-only.

However it might be interesting/useful to have such variables so that code
like this
if(BUILD_SHARED_LIBS)
   set(lib_prefix ${CMAKE_SHARED_LIBRARY_PREFIX)
else(BUILD_SHARED_LIBS)
   set(lib_prefix ${CMAKE_STATIC_LIBRARY_PREFIX)
endif(BUILD_SHARED_LIBS)

Would it be appropriate to reopen the bug/file a feature request?
Thanks,
Vittorio
--

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

Reply via email to