Re: [cmake-developers] Fix for the default configuration for CMAKE_INSTALL_CONFIG_NAME

2015-02-03 Thread Brad King
On 02/02/2015 11:44 AM, Roman Wüger wrote:
 Attached is a patch to fix this issue.

Thanks.  Inspired by that Ben produced:

 install: Fix regression in default configuration selection
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dea42d92

Thanks,
-Brad
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers


[cmake-developers] Fix for the default configuration for CMAKE_INSTALL_CONFIG_NAME

2015-02-02 Thread Roman Wüger
Hello,



since version 3.1.0 CMake generates cmake_install.cmake files where the default configuration is empty.
(e.g.: set(CMAKE_INSTALL_CONFIG_NAME ))



In previous versions = 3.0.2 the default_config variable points to a NULL pointer for invalid configurations.
In later releases the variable points to valid objects, even if the configuration is empty.



Attached is a patch to fix this issue.



Best Regards

Roman

0001-Bugfix-Fix-default-config-for-CMAKE_INSTALL_CONFIG_N.patch
Description: Binary data
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers