summaryrefslogtreecommitdiff
path: root/deps/bzip2/CMakeLists.txt
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-10-12 20:00:52 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-10-12 20:00:52 +0200
commitf06f32849f1e2c72dc73287c73361174c07ed29e (patch)
tree70ace68e849cd5ca446fb36279f8125127bb8693 /deps/bzip2/CMakeLists.txt
parent4df28fd29c6978e669f9950bd38e853fabf9fc8d (diff)
Directory Structure [step 1]: moving files
working on #672 NOTE: This commit can't be compiled!!
Diffstat (limited to 'deps/bzip2/CMakeLists.txt')
-rw-r--r--deps/bzip2/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/bzip2/CMakeLists.txt b/deps/bzip2/CMakeLists.txt
new file mode 100644
index 0000000000..4cf8944190
--- /dev/null
+++ b/deps/bzip2/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Copyright (C)
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+file(GLOB sources *.c)
+
+set(bzip2_STAT_SRCS
+ ${sources}
+)
+
+include_directories(
+ ${CMAKE_SOURCE_DIR}/modules/worldengine/deps/zlib
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+add_library(bzip2 STATIC ${bzip2_STAT_SRCS})