Help: Fix mistake in cmake-buildsystem(7) example

The COMPATIBLE_INTERFACE_NUMBER_MAX example now sets
INTERFACE_CONTAINER_SIZE_REQUIRED on lib1Version2 and lib1Version3.
Previously set it on lib1Version2 twice and never on lib1Version3.
This commit is contained in:
Paul Wilkinson 2016-02-07 20:46:27 +00:00 committed by Brad King
parent a5a5a68572
commit d8c9080017
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ specified will be calculated:
) )
add_library(lib1Version3 SHARED lib1_v3.cpp) 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) add_executable(exe1 exe1.cpp)
# CONTAINER_SIZE_REQUIRED will be "200" # CONTAINER_SIZE_REQUIRED will be "200"