mirror of
https://github.com/nasa/trick.git
synced 2025-04-08 03:44:21 +00:00
Can't build trick 15.2.0 with --gsl=/usr
The _HAVE_GSL flag was not being passed into all compilation lines when GSL was present. Added them to to CFLAGS and CXXFLAGS so it is. refs #235
This commit is contained in:
parent
3f7676a740
commit
5b27723501
@ -128,6 +128,8 @@ ifeq ($(HAVE_GSL),1)
|
||||
TRICK_EXEC_LINK_LIBS += -L$(GSL_HOME)/lib
|
||||
endif
|
||||
TRICK_EXEC_LINK_LIBS += -lgsl -lgslcblas
|
||||
TRICK_CFLAGS += -D_HAVE_GSL
|
||||
TRICK_CXXFLAGS += -D_HAVE_GSL
|
||||
endif
|
||||
|
||||
TRICK_INCLUDE = $(shell $(PERL) -e '@inc_paths = "${TRICK_CFLAGS}" =~ /-I\s*(\S+)/g ; foreach $$i (@inc_paths) { print "-I$$i "}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user