Skip to content

Commit 3ee86ae

Browse files
committed
fix public-headers.cmake
1 parent 535db93 commit 3ee86ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public-headers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# "Public headers" stands for headers exposing to clients.
33

44
# First list all headers here
5-
file (GLOB_RECURSE CMAKE_PROJECT_PUBLIC_HEADERS_LIST RELATIVE "${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/*.h")
5+
file (GLOB_RECURSE CMAKE_PROJECT_PUBLIC_HEADERS_LIST RELATIVE "${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/src/*.h")
66

77
# Concat list items with semicolon to satisfy set_target_properties()
88
list (JOIN CMAKE_PROJECT_PUBLIC_HEADERS_LIST "\;" CMAKE_PROJECT_PUBLIC_HEADERS)

0 commit comments

Comments
 (0)