mirror of
https://github.com/nasa/trick.git
synced 2025-04-18 16:17:43 +00:00
Set GTEST_HOME based on OS.
This commit is contained in:
parent
35611c33a3
commit
4a9e21607a
@ -5,7 +5,12 @@ CPP = /usr/bin/g++
|
||||
|
||||
DECL_DIR = ..
|
||||
|
||||
GTEST_HOME = /opt/homebrew
|
||||
UNAME_S = $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
GTEST_HOME=/opt/homebrew
|
||||
else
|
||||
GTEST_HOME=/usr/local
|
||||
endif
|
||||
|
||||
CFLAGS += -std=c++14 -g -Wall -Wextra -I$(GTEST_HOME)/include -I$(DECL_DIR)/include
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user