Help: Make cmake-buildsystem(7) header-only examples consistent

Extend commit 93696d0f2e (Help: Restore cmake-buildsystem(7) header-only
library example, 2023-01-13, v3.25.2~3^2) to cover a second part of the
example from commit 4b25a0d512 (Help/manual: Update header-only library
example, 2022-04-22, v3.24.0-rc1~220^2).

Issue: #24319
This commit is contained in:
Patrik Huber
2025-02-12 02:22:50 +00:00
committed by Brad King
parent b2674f3b38
commit 2d5f2c9311

View File

@@ -1513,7 +1513,7 @@ default header set along with the target:
add_library(Eigen INTERFACE)
target_sources(Eigen INTERFACE
target_sources(Eigen PUBLIC
FILE_SET HEADERS
BASE_DIRS src
FILES src/eigen.h src/vector.h src/matrix.h