-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compiler warnings #2
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ add_library(espeak-ng | |
) | ||
|
||
target_include_directories(espeak-ng BEFORE PRIVATE $<TARGET_PROPERTY:espeak-include,INTERFACE_INCLUDE_DIRECTORIES>) | ||
target_link_libraries(espeak-ng PRIVATE "-Wl,-rpath,${ESPEAK_NG_RPATH_ORIGIN}") | ||
|
||
if (NOT MSVC) | ||
target_compile_options(espeak-ng PRIVATE | ||
|
@@ -103,7 +104,7 @@ target_link_libraries(espeak-ng PRIVATE espeak-ng-config ucd) | |
if (NOT MSVC) | ||
target_link_libraries(espeak-ng PRIVATE m) | ||
endif() | ||
target_link_libraries(espeak-ng PUBLIC espeak-include) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line using https://github.com/rhasspy/espeak-ng/tree/master/src/include/compat (It is even worse to name them using standard library header filenames.) |
||
target_link_libraries(espeak-ng PRIVATE espeak-include) | ||
|
||
if (MINGW) | ||
target_link_options(espeak-ng PRIVATE "-static-libstdc++" "-static") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit should fix
rhasspy/piper#286