File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ project_group (wordlist2dawg "Training Tools")
116
116
117
117
if (ICU_FOUND)
118
118
119
+ include_directories (${ICU_INCLUDE_DIRS} )
120
+
119
121
add_executable (set_unicharset_properties
120
122
set_unicharset_properties.cpp
121
123
unicharset_training_utils.cpp
@@ -126,17 +128,15 @@ add_executable (set_unicharset_properties
126
128
normstrngs.h
127
129
icuerrorcode.h
128
130
)
129
- #target_include_directories (set_unicharset_properties PRIVATE ${ICU_INCLUDE_DIRS})
130
131
target_link_libraries (set_unicharset_properties common_training ${ICU_LIBRARIES} )
131
132
project_group (set_unicharset_properties "Training Tools" )
132
133
133
- endif (ICU_FOUND)
134
134
135
135
########################################
136
136
# EXECUTABLE text2image
137
137
########################################
138
138
139
- if (ICU_FOUND AND PKG_CONFIG_FOUND)
139
+ if (PKG_CONFIG_FOUND)
140
140
141
141
pkg_check_modules(Pango REQUIRED pango)
142
142
pkg_check_modules(Cairo REQUIRED cairo)
@@ -182,7 +182,8 @@ target_link_libraries (text2image tesseract common_training
182
182
)
183
183
project_group (text2image "Training Tools" )
184
184
185
- endif (ICU_FOUND AND PKG_CONFIG_FOUND)
185
+ endif (PKG_CONFIG_FOUND)
186
+ endif (ICU_FOUND)
186
187
endif (STATIC OR NOT (WIN32 OR CYGWIN ))
187
188
188
189
###############################################################################
You can’t perform that action at this time.
0 commit comments