fix detection of boost

This commit is contained in:
MITSUNARI Shigeo 2022-11-29 08:38:46 +09:00
parent b5ac7b0f0a
commit 62be84cc87

View file

@ -1,9 +1,7 @@
XBYAK_INC=../xbyak/xbyak.h
CXX?=g++
#BOOST_EXIST=$(shell echo "#include <boost/spirit/core.hpp>" | $CXX -x c++ -c - 2>/dev/null && echo 1)
# I don't know why the above code causes an error on GitHub action.
BOOST_EXIST?=0
BOOST_EXIST=$(shell echo "#include <boost/spirit/core.hpp>" | $(CXX) -x c++ -c - 2>/dev/null && echo 1)
UNAME_M=$(shell uname -m)
ONLY_64BIT=0