[cmake-developers] [PATCH] Help: fix mistake in cmake-buildsystem(7)

Paul Wilkinson paul.wilkinson at cantab.net
Sun Feb 7 15:46:27 EST 2016


The COMPATIBLE_INTERFACE_NUMBER_MAX example now sets
INTERFACE_CONTAINER_SIZE_REQUIRED on lib1Version2 and lib1Version3 (it
previously set it on lib1Version2 twice and never on
lib1Version3. Probably a copy-paste mistake?)
---
 Help/manual/cmake-buildsystem.7.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Help/manual/cmake-buildsystem.7.rst
b/Help/manual/cmake-buildsystem.7.rst
index 4a04f31..9004bb2 100644
--- a/Help/manual/cmake-buildsystem.7.rst
+++ b/Help/manual/cmake-buildsystem.7.rst
@@ -427,7 +427,7 @@ specified will be calculated:
   )

   add_library(lib1Version3 SHARED lib1_v3.cpp)
-  set_property(TARGET lib1Version2 PROPERTY
INTERFACE_CONTAINER_SIZE_REQUIRED 1000)
+  set_property(TARGET lib1Version3 PROPERTY
INTERFACE_CONTAINER_SIZE_REQUIRED 1000)

   add_executable(exe1 exe1.cpp)
   # CONTAINER_SIZE_REQUIRED will be "200"
-- 
1.9.1


More information about the cmake-developers mailing list