]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/cmake: not available on static-only build
authorSamuel Martin <s.martin49@gmail.com>
Tue, 17 Mar 2015 10:20:24 +0000 (11:20 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 17 Mar 2015 12:02:49 +0000 (13:02 +0100)
Fixes:
  http://autobuild.buildroot.net/results/9f7/9f7c8d5078cd1f3cd493f9ae8e95c8ee728f98fd/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/cmake/Config.in

index e06d4b7bcfb0ece5e1fae850fcb65c30916d205b..dbc7d015f4cc5a0641c0ad0c64ca5f1e6775dd90 100644 (file)
@@ -22,6 +22,7 @@ config BR2_PACKAGE_CMAKE_CTEST
        depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
        depends on BR2_USE_WCHAR # libarchive
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_STATIC_LIBS
        help
          CTest is a testing tool distributed as a part of CMake. It
          can be used to automate updating (using CVS for example),
@@ -31,6 +32,6 @@ config BR2_PACKAGE_CMAKE_CTEST
 
          http://www.cmake.org/
 
-comment "ctest needs a toolchain w/ C++, wchar"
+comment "ctest needs a toolchain w/ C++, wchar, dynamic library"
        depends on BR2_PACKAGE_CMAKE_ARCH_SUPPORTS
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS