File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ set(EXPORT_HEADER "${PROJECT_BINARY_DIR}/include/${PNAME_LOWER}/export.hpp")
81
81
generate_export_header ("${PNAME_LOWER} " EXPORT_FILE_NAME "${EXPORT_HEADER} " )
82
82
83
83
set (PUBLIC_HEADERS
84
- "${EXPORT_HEADER} "
85
84
"include/${PNAME_LOWER} /capitalize.hpp"
86
85
"include/${PNAME_LOWER} /center.hpp"
87
86
"include/${PNAME_LOWER} /const.hpp"
@@ -129,8 +128,9 @@ set(SOURCES
129
128
"src/translate.cpp"
130
129
)
131
130
131
+ list (APPEND PUBLIC_HEADERS "${EXPORT_HEADER} " )
132
132
source_group (TREE "${PROJECT_SOURCE_DIR} " FILES ${SOURCES} )
133
- target_sources ("${PNAME_LOWER} " PRIVATE ${SOURCES} )
133
+ target_sources ("${PNAME_LOWER} " PRIVATE " ${EXPORT_HEADER} " ${SOURCES} )
134
134
135
135
set_target_properties ("${PNAME_LOWER} " PROPERTIES
136
136
PUBLIC_HEADER
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ include(FetchContent)
55
55
FetchContent_Declare(
56
56
StringPy
57
57
GIT_REPOSITORY https://github.com/hun1er/stringpy.git
58
- GIT_TAG v1.0.0
58
+ GIT_TAG v1.0.1
59
59
)
60
60
61
61
FetchContent_MakeAvailable(StringPy)
You can’t perform that action at this time.
0 commit comments