Skip to content

Commit

Permalink
Added a cmake variable to make submoduleing the project easier
Browse files Browse the repository at this point in the history
  • Loading branch information
abelmul committed May 31, 2020
1 parent f0cd9e3 commit ce44286
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 @@ -394,5 +394,8 @@ else (SQLITECPP_BUILD_TESTS)
message(STATUS "SQLITECPP_BUILD_TESTS OFF")
endif (SQLITECPP_BUILD_TESTS)

set(SQLITECPP_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE INTERNAL "")
set(SQLITECPP_LIBRARIES SQLiteCpp sqlite3 pthread dl CACHE INTERNAL "")

# API version for SQLiteCpp shared library.
set_property(TARGET SQLiteCpp PROPERTY SOVERSION 0)

0 comments on commit ce44286

Please sign in to comment.