diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 596e496..8b98adc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,6 +1,6 @@ | |||
1 | cmake_minimum_required ( VERSION 2.8 ) | 1 | cmake_minimum_required ( VERSION 2.8 ) |
2 | 2 | ||
3 | project ( lua-llthreads2 C ) | 3 | project ( lua-llthreads2-compat C ) |
4 | include ( cmake/dist.cmake ) | 4 | include ( cmake/dist.cmake ) |
5 | include ( lua ) | 5 | include ( lua ) |
6 | 6 | ||
@@ -11,7 +11,9 @@ include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/llthreads2/src ) | |||
11 | 11 | ||
12 | set ( LUA_LLTHREADS_SRC llthreads2/src/l52util.c llthreads2/src/llthread.c ) | 12 | set ( LUA_LLTHREADS_SRC llthreads2/src/l52util.c llthreads2/src/llthread.c ) |
13 | 13 | ||
14 | install_lua_module ( llthreads2 ${LUA_LLTHREADS_SRC} LINK ${CMAKE_THREAD_LIBS_INIT} ) | 14 | install_lua_module ( llthreads ${LUA_LLTHREADS_SRC} LINK ${CMAKE_THREAD_LIBS_INIT} ) |
15 | |||
16 | set_target_properties ( llthreads PROPERTIES COMPILE_DEFINITIONS "LLTHREAD_MODULE_NAME=llthreads" ) | ||
15 | 17 | ||
16 | install_data ( llthreads2/COPYRIGHT.llthreads llthreads2/README.md llthreads2/LICENSE ) | 18 | install_data ( llthreads2/COPYRIGHT.llthreads llthreads2/README.md llthreads2/LICENSE ) |
17 | install_test ( llthreads2/test/ ) | 19 | install_test ( llthreads2/test/ ) |