summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/OSSupport/CMakeLists.txt')
-rw-r--r--src/OSSupport/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt
new file mode 100644
index 000000000..497cd0ba3
--- /dev/null
+++ b/src/OSSupport/CMakeLists.txt
@@ -0,0 +1,14 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (MCServer)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(OSSupport ${SOURCE})
+
+if(UNIX)
+ target_link_libraries(OSSupport pthread)
+endif()