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

turned RPATH support on for Mac and bumped the CMake version as required; #15

Open
wants to merge 1 commit into
base: lua-5.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Please note that the package source code is licensed under its own license.

project ( lua C )
cmake_minimum_required ( VERSION 2.8 )
cmake_minimum_required ( VERSION 3.0.2 )
include ( cmake/dist.cmake )
include ( lua )

Expand Down Expand Up @@ -63,6 +63,10 @@ else ( )
option ( LUA_USE_ULONGJMP "Use ulongjmp" ON )
endif ( )

if (APPLE)
set(CMAKE_MACOSX_RPATH ON)
endif()

## SETUP
# Optional libraries
find_package ( Readline )
Expand Down