Skip to content

Commit

Permalink
Fix statically linked examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenick committed Nov 8, 2017
1 parent a05e5d8 commit 17d0851
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ CassConfigureTests()
# no need to update CMakeLists.txt!

if(CASS_BUILD_EXAMPLES)
if(CASS_USE_STATIC_LIBS)
set(CASS_EXAMPLE_C_FLAGS "${CASS_EXAMPLE_C_FLAGS} -DCASS_STATIC")
endif()
CassBuildExamples("examples")
endif()

Expand Down

0 comments on commit 17d0851

Please sign in to comment.