math/casadi: fix build on GCC architectures

Use C++11 compiler:
  Cannot enable C++11 features.

Use it also for math/ipopt to be able to link math/casadi against it.

Approved by:	mentors (implicit approval)
This commit is contained in:
Piotr Kubaj 2019-09-19 19:43:47 +00:00
parent cd698a32e0
commit a513da3ae9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512370
2 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ COMMENT= Symbolic framework for numeric optimization
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake pkgconfig
USES= cmake compiler:c++11-lang pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes

View file

@ -17,7 +17,8 @@ COMMENT= Software package for large-scale nonlinear optimization
LICENSE= EPL
USES= blaslapack fortran libtool pathfix pkgconfig tar:tgz
USES= blaslapack compiler:c++11-lang fortran libtool pathfix \
pkgconfig tar:tgz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
TEST_TARGET= test