Skip to content

Commit 8bb0fe4

Browse files
smowtonpeterschrammel
authored andcommitted
Disable Boost on non-Linux platforms
1 parent 03eeb47 commit 8bb0fe4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/config.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ BUILD_ENV = AUTO
1111
#CXXFLAGS += -O2 -DNDEBUG
1212
#CXXFLAGS += -O0 -g
1313

14-
CXXFLAGS += -DUSE_BOOST
15-
LIBS=-lboost_filesystem -lboost_system
14+
ifeq ($(shell uname),Linux)
15+
CXXFLAGS += -DUSE_BOOST
16+
LIBS=-lboost_filesystem -lboost_system
17+
endif
1618

1719
# If GLPK is available; this is used by goto-instrument and musketeer.
1820
#LIB_GLPK = -lglpk

0 commit comments

Comments
 (0)