aboutsummaryrefslogtreecommitdiff
path: root/llthreads2/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexey Melnichuk <mimir@newmail.ru>2014-02-11 17:32:59 +0400
committerAlexey Melnichuk <mimir@newmail.ru>2014-02-11 17:34:14 +0400
commitd13929706a3b45bd64e0a87e0afc3d45625e888d (patch)
treed1c846805f127736d1dafb3b3094eaf78d032859 /llthreads2/CMakeLists.txt
parent46ed59584e5407c49a02f1ea6bede6487259a92e (diff)
downloadlua-llthreads2-d13929706a3b45bd64e0a87e0afc3d45625e888d.tar.gz
lua-llthreads2-d13929706a3b45bd64e0a87e0afc3d45625e888d.tar.bz2
lua-llthreads2-d13929706a3b45bd64e0a87e0afc3d45625e888d.zip
Init LuaDist for llthreads2 module.
Diffstat (limited to 'llthreads2/CMakeLists.txt')
-rw-r--r--llthreads2/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/llthreads2/CMakeLists.txt b/llthreads2/CMakeLists.txt
new file mode 100644
index 0000000..f96b32a
--- /dev/null
+++ b/llthreads2/CMakeLists.txt
@@ -0,0 +1,17 @@
1cmake_minimum_required ( VERSION 2.8 )
2
3project ( lua-llthreads2 C )
4include ( cmake/dist.cmake )
5include ( lua )
6
7set ( CMAKE_THREAD_PREFER_PTHREAD TRUE )
8include ( FindThreads )
9
10include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/src )
11
12set ( LUA_LLTHREADS_SRC src/l52util.c src/llthread.c )
13
14install_lua_module ( llthreads2 ${LUA_LLTHREADS_SRC} LINK ${CMAKE_THREAD_LIBS_INIT} )
15
16install_data ( COPYRIGHT.llthreads README.md LICENSE )
17install_test ( test/ )