Browse Source

cmake: force project includes before libraries

master
Yury Popov 2 years ago
parent
commit
31461c0e44
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/libespeak-ng/CMakeLists.txt

+ 2
- 0
src/libespeak-ng/CMakeLists.txt View File

espeak_api.c espeak_api.c
) )


target_include_directories(espeak-ng BEFORE PRIVATE $<TARGET_PROPERTY:espeak-include,INTERFACE_INCLUDE_DIRECTORIES>)

if (NOT MSVC) if (NOT MSVC)
target_compile_options(espeak-ng PRIVATE target_compile_options(espeak-ng PRIVATE
"-fPIC" "-fPIC"

Loading…
Cancel
Save