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

Commit

Permalink
add flag to cpp unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Jin committed May 29, 2018
1 parent 4ac76c8 commit 48df3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cpp/unittest.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ GTEST_SRCS_ = $(GTEST_DIR)/src/*.cc $(GTEST_DIR)/src/*.h $(GTEST_HEADERS)
GTEST_HEADERS = $(GTEST_DIR)/include/gtest/*.h \
$(GTEST_DIR)/include/gtest/internal/*.h

TEST_CFLAGS = -Itests/cpp/include -Isrc $(CFLAGS)
TEST_LDFLAGS = $(LDFLAGS) -Llib -lmxnet
TEST_CFLAGS = -Itests/cpp/include -Isrc -pthread $(CFLAGS)
TEST_LDFLAGS = $(LDFLAGS) -Llib -lmxnet -lpthread

ifeq ($(USE_BREAKPAD), 1)
TEST_CFLAGS += -I/usr/local/include/breakpad
Expand Down

0 comments on commit 48df3a7

Please sign in to comment.