aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpravic <ehysta@gmail.com>2018-04-24 07:29:17 +0300
committerpravic <ehysta@gmail.com>2018-04-24 07:30:28 +0300
commit90db2c72173c7398122e693d797f82736dabd109 (patch)
tree6e513fab04bf750ec29608ff124551c41c19bbf6
parentcde623c774618d8cebed56e08dd0c0106ce0a951 (diff)
downloadvcpkg-90db2c72173c7398122e693d797f82736dabd109.tar.gz
vcpkg-90db2c72173c7398122e693d797f82736dabd109.zip
[sqlite3] Fix tool feature with static builds
refs #2525
-rw-r--r--ports/sqlite3/CMakeLists.txt8
-rw-r--r--ports/sqlite3/CONTROL2
2 files changed, 7 insertions, 3 deletions
diff --git a/ports/sqlite3/CMakeLists.txt b/ports/sqlite3/CMakeLists.txt
index 7d6e20dee..b4b105a65 100644
--- a/ports/sqlite3/CMakeLists.txt
+++ b/ports/sqlite3/CMakeLists.txt
@@ -9,7 +9,7 @@ else()
endif()
add_library(sqlite3 sqlite3.c)
-target_compile_definitions(sqlite3 PRIVATE
+target_compile_definitions(sqlite3 PRIVATE
$<$<CONFIG:Debug>:SQLITE_DEBUG>
${API}
-DSQLITE_ENABLE_RTREE
@@ -25,7 +25,11 @@ if(NOT SQLITE3_SKIP_TOOLS)
add_executable(sqlite3-bin shell.c)
set_target_properties(sqlite3-bin PROPERTIES OUTPUT_NAME sqlite3)
target_link_libraries(sqlite3-bin PRIVATE sqlite3)
- install(TARGETS sqlite3-bin sqlite3 RUNTIME DESTINATION tools)
+ install(TARGETS sqlite3-bin sqlite3
+ RUNTIME DESTINATION tools
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+ )
endif()
install(TARGETS sqlite3 EXPORT sqlite3Config
diff --git a/ports/sqlite3/CONTROL b/ports/sqlite3/CONTROL
index 6dc0714e0..74d70909b 100644
--- a/ports/sqlite3/CONTROL
+++ b/ports/sqlite3/CONTROL
@@ -1,5 +1,5 @@
Source: sqlite3
-Version: 3.23.1
+Version: 3.23.1-1
Description: SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
Feature: tool