Skip to content

Commit

Permalink
Merge pull request HIT-SCIR#4 from endyul/osx-patch
Browse files Browse the repository at this point in the history
fixed compile error on osx
  • Loading branch information
Oneplus committed Dec 24, 2014
2 parents e4387b4 + f2a7bf2 commit b631187
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ include_directories (
# include_directories ($ENV{JAVA_HOME}/include/linux)
#endif(WIN32)

if(APPLE)
set(CMAKE_CXX_FLAGS "-stdlib=libstdc++")
endif(APPLE)

if(WIN32)
link_directories (${LTP_HOME}/lib/Debug)
else(WIN32)
Expand Down

0 comments on commit b631187

Please sign in to comment.