mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Bwuh. Clang version 3.5 is not available on precis either.
This commit is contained in:
parent
48e5601422
commit
32b9e13e91
|
@ -14,8 +14,6 @@ before_install:
|
|||
- sudo apt-get --yes update
|
||||
- if [ "$CXX" == "g++" ]; then sudo apt-get --yes install g++-4.9; fi
|
||||
- if [ "$CXX" == "g++" ]; then export CXX=g++-4.9; fi
|
||||
- if [ "$CXX" == "clang++" ]; then sudo apt-get --yes install clang-3.5; fi
|
||||
- if [ "$CXX" == "clang++" ]; then export CXX=clang++-3.5; fi
|
||||
- sudo apt-get --yes install ninja-build
|
||||
- sudo apt-get --yes install liblua5.2-dev
|
||||
- sudo apt-get --yes install libluajit-5.1-dev
|
||||
|
|
|
@ -87,6 +87,9 @@ if args.lua_lib:
|
|||
if args.ci:
|
||||
ldflags.extend(library_includes(['lib']))
|
||||
include.extend(['./include'])
|
||||
if 'clang++' in args.cxx:
|
||||
cxxflags.remove('-std=c++14')
|
||||
cxxflags.append('-std=c++1y')
|
||||
if args.lua_lib:
|
||||
if args.lualib == 'luajit':
|
||||
include.extend(['/usr/include/luajit-2.0'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user