diff options
author | Soumith Chintala <soumith@fb.com> | 2016-02-01 03:08:37 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2016-02-01 03:08:37 +0300 |
commit | 381256dcca3a91cb80417e33345d51ed7fea6e9a (patch) | |
tree | 2eabcc2a8d46eedd95e07dd1f67e9319fc2520ff | |
parent | b0a0625ebe21577dd1907002b29b60047d5052ef (diff) |
add cmake for non-luarocks build
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..0bfb9ab --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR) +CMAKE_POLICY(VERSION 2.6) + +SET(src "") +SET(luasrc + ${CMAKE_CURRENT_SOURCE_DIR}/init.lua + ${CMAKE_CURRENT_SOURCE_DIR}/cinterface.lua + ${CMAKE_CURRENT_SOURCE_DIR}/types.lua) + +INSTALL(FILES ${luasrc} DESTINATION ${LUADIR}/paths) + |