Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 79a0e78

Browse files
committed
Push to 20, this time correctly
1 parent 87ffec0 commit 79a0e78

File tree

3 files changed

+412
-101
lines changed

3 files changed

+412
-101
lines changed

CMakeLists.txt

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
# For details see the COPYRIGHT file distributed with LuaDist.
44
# Please note that the package source code is licensed under its own license.
55

6-
PROJECT(lua-stdlib NONE)
7-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
8-
INCLUDE(dist.cmake)
9-
10-
# stdlib modules
11-
INSTALL (DIRECTORY modules/ DESTINATION ${INSTALL_LMOD})
12-
INSTALL(FILES AUTHORS README DESTINATION ${INSTALL_DATA})
13-
INSTALL(DIRECTORY utils/ DESTINATION ${INSTALL_FOO})
6+
project ( lua-stdlib NONE )
7+
cmake_minimum_required ( VERSION 2.6 )
8+
include ( dist.cmake )
9+
10+
# collect sources
11+
file ( GLOB ${LUA_FILES} modules/*.lua )
12+
13+
# Install lua modules using glob
14+
install ( FILES ${LUA_FILES} DESTINATION ${INSTALL_LMOD} )
15+
16+
# Macro install rest
17+
install_data ( AUTHORS README )
18+
install_foo ( utils/ )

0 commit comments

Comments
 (0)