File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ before_install:
15
15
# Just check if build success or not for now
16
16
script :
17
17
- cd src
18
- - ./waf configure
19
- - ./waf build
18
+ - mkdir -p build && cd build
19
+ - cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ..
20
+ - make -j
20
21
21
22
notifications :
22
23
email : false
Original file line number Diff line number Diff line change @@ -94,7 +94,12 @@ endif()
94
94
95
95
# find HTSEngine
96
96
find_path (HTS_ENGINE_INCLUDE_DIR HTS_engine.h)
97
- find_library (HTS_ENGINE_LIB HTSEngine)
97
+ find_library (HTS_ENGINE_LIB hts_engine_API)
98
+ if (NOT HTS_ENGINE_LIB)
99
+ # fallback
100
+ find_library (HTS_ENGINE_LIB HTSEngine)
101
+ endif ()
102
+
98
103
if (HTS_ENGINE_INCLUDE_DIR AND HTS_ENGINE_LIB)
99
104
target_link_libraries (openjtalk ${HTS_ENGINE_LIB} )
100
105
include_directories (openjtalk ${HTS_ENGINE_INCLUDE_DIR} )
You can’t perform that action at this time.
0 commit comments