-
Notifications
You must be signed in to change notification settings - Fork 55
/
CMakeLists.txt
17 lines (15 loc) · 757 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(compat LANGUAGES NONE)
externalproject_add(
ep_compat
GIT_REPOSITORY https://github.com/keplerproject/lua-compat-5.2.git
GIT_TAG ad22f7e8a6ee2445f3085b572ba925d2561c7359
CMAKE_ARGS ${EP_CMAKE_ARGS}
UPDATE_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt.${PROJECT_NAME} <SOURCE_DIR>/CMakeLists.txt
)
externalproject_add_step(ep_compat copy_cpack
COMMAND ${CMAKE_COMMAND} -E copy <BINARY_DIR>/${PROJECT_NAME}.cpack ${CMAKE_BINARY_DIR}
DEPENDEES install)