Skip to content

Commit

Permalink
fix boost_regex link bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneplus committed Aug 27, 2013
1 parent deec344 commit 693ab63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/segmentor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ set_target_properties (segmentor_shared_lib PROPERTIES
# TOOLKIT
# -----------------------------------------------
add_executable (otcws otcws.cpp ${segment_SRC})

message (STATUS ${LIBRARY_OUTPUT_PATH} )
link_directories ( ${LIBRARY_OUTPUT_PATH} )

target_link_libraries (otcws boost_regex)
target_link_libraries (otcws boost_regex_static_lib)

# redirect the output binary to tools/train
set_target_properties (otcws
Expand Down

0 comments on commit 693ab63

Please sign in to comment.