aboutsummaryrefslogtreecommitdiff
path: root/src/sqlite/CMakeLists.txt
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-06-27 06:56:26 -0700
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-06-27 06:56:26 -0700
commitf37a3a84fafb91bcfc109fed95aa6d42726f1bf7 (patch)
treecde1e5f47f191beb4a9cefcd87872aef53b5fcec /src/sqlite/CMakeLists.txt
parente261cc9e8fa67c9020fa0a82bd1a7041ecd351a0 (diff)
parent13cf5425db613dc0a4323c87a4988bb18fb87aca (diff)
downloadminetest-f37a3a84fafb91bcfc109fed95aa6d42726f1bf7.tar.gz
minetest-f37a3a84fafb91bcfc109fed95aa6d42726f1bf7.tar.bz2
minetest-f37a3a84fafb91bcfc109fed95aa6d42726f1bf7.zip
Merge pull request #13 from Bahamada/upstream_merge
Upstream merge
Diffstat (limited to 'src/sqlite/CMakeLists.txt')
-rw-r--r--src/sqlite/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sqlite/CMakeLists.txt b/src/sqlite/CMakeLists.txt
new file mode 100644
index 000000000..253625501
--- /dev/null
+++ b/src/sqlite/CMakeLists.txt
@@ -0,0 +1,16 @@
+if( UNIX )
+ set(sqlite3_SRCS sqlite3.c)
+ set(sqlite3_platform_LIBS "")
+else( UNIX )
+ set(sqlite3_SRCS sqlite3.c)
+ set(sqlite3_platform_LIBS "")
+endif( UNIX )
+
+add_library(sqlite3 ${sqlite3_SRCS})
+
+target_link_libraries(
+ sqlite3
+ ${sqlite3_platform_LIBS}
+)
+
+