Skip to content

Commit c6b98d4

Browse files
committed
ENH: Install all public headers in target.
1 parent 7167e1a commit c6b98d4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,14 @@ set(Core_PUBLIC_HEADER
7474
PythonQtUtils.h
7575
PythonQtBoolResult.h
7676
PythonQtThreadSupport.h
77+
PythonQtPythonInclude.h
7778
)
78-
set_target_properties(${PROJECT_NAME} PROPERTIES
79+
foreach( header ${Core_PUBLIC_HEADER} )
80+
set_target_properties(${PROJECT_NAME} PROPERTIES
7981
OUTPUT_NAME PythonQt-${PYTHONQT_SUFFIX}
80-
PUBLIC_HEADER ${Core_PUBLIC_HEADER}
81-
)
82+
PUBLIC_HEADER ${header}
83+
)
84+
endforeach()
8285
unset(Core_PUBLIC_HEADER)
8386

8487
add_dependencies(${PROJECT_NAME} PythonQtWrapper)

0 commit comments

Comments
 (0)