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:
parent
a5a5a68572
commit
d8c9080017
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue