Browse Source

Merge topic 'fix-doc-typos'

a3b91d16 Help: Fix command specification for cmake_minimum_required
d8c90800 Help: Fix mistake in cmake-buildsystem(7) example
Brad King 9 years ago
parent
commit
2619317c66
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Help/command/cmake_minimum_required.rst
  2. 1 1
      Help/manual/cmake-buildsystem.7.rst

+ 1 - 1
Help/command/cmake_minimum_required.rst

@@ -5,7 +5,7 @@ Set the minimum required version of cmake for a project.
 
 ::
 
-  cmake_minimum_required(VERSION major[.minor[.patch[.tweak]]]
+  cmake_minimum_required(VERSION major.minor[.patch[.tweak]]
                          [FATAL_ERROR])
 
 If the current version of CMake is lower than that required it will

+ 1 - 1
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"