mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
Help: Make cmake-buildsystem(7) header-only examples consistent
Extend commit93696d0f2e(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 commit4b25a0d512(Help/manual: Update header-only library example, 2022-04-22, v3.24.0-rc1~220^2). Issue: #24319
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user