Skip to content

Commit

Permalink
Merge pull request #100 from Asriwi/master
Browse files Browse the repository at this point in the history
Link libssp when targetted
  • Loading branch information
SRombauts authored Sep 2, 2016
2 parents 343a3ca + acbad05 commit 6d1806b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ if (SQLITECPP_BUILD_EXAMPLES)
if (NOT APPLE)
target_link_libraries(SQLiteCpp_example1 dl)
endif ()
elseif (MSYS OR MINGW)
target_link_libraries(SQLiteCpp_example1 ssp)
endif ()
else (SQLITECPP_BUILD_EXAMPLES)
message(STATUS "SQLITECPP_BUILD_EXAMPLES OFF")
Expand Down

0 comments on commit 6d1806b

Please sign in to comment.