panda: Install correct config headers for pstatclient and putil

Closes #1525
This commit is contained in:
Disyer 2023-08-05 15:46:08 +03:00 committed by rdb
parent 0cf2a5f385
commit f596666b84
3 changed files with 5 additions and 5 deletions

View File

@ -48,4 +48,4 @@ if(NOT BUILD_METALIBS)
ARCHIVE COMPONENT CoreDevel)
endif()
install(FILES ${P3PSTATCLIENT_HEADERS} COMPONENT CoreDevel DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/panda3d)
install(FILES config_pstats.h COMPONENT CoreDevel DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/panda3d)
install(FILES config_pstatclient.h COMPONENT CoreDevel DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/panda3d)

View File

@ -11,8 +11,8 @@
* @date 2000-07-09
*/
#ifndef CONFIG_PSTATS_H
#define CONFIG_PSTATS_H
#ifndef CONFIG_PSTATCLIENT_H
#define CONFIG_PSTATCLIENT_H
#include "pandabase.h"
@ -49,4 +49,4 @@ extern EXPCL_PANDA_PSTATCLIENT ConfigVariableBool pstats_mem_other;
extern EXPCL_PANDA_PSTATCLIENT void init_libpstatclient();
#endif
#endif /* CONFIG_PSTATCLIENT_H */

View File

@ -162,4 +162,4 @@ if(NOT BUILD_METALIBS)
ARCHIVE COMPONENT CoreDevel)
endif()
install(FILES ${P3PUTIL_HEADERS} COMPONENT CoreDevel DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/panda3d)
install(FILES config_util.h COMPONENT CoreDevel DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/panda3d)
install(FILES config_putil.h COMPONENT CoreDevel DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/panda3d)