mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
cmake: force project includes before libraries
This commit is contained in:
@@ -38,6 +38,8 @@ add_library(espeak-ng
|
||||
espeak_api.c
|
||||
)
|
||||
|
||||
target_include_directories(espeak-ng BEFORE PRIVATE $<TARGET_PROPERTY:espeak-include,INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
|
||||
if (NOT MSVC)
|
||||
target_compile_options(espeak-ng PRIVATE
|
||||
"-fPIC"
|
||||
|
||||
Reference in New Issue
Block a user