You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake 2.8.11 is the latest version for which I could find a PPA which runs on travis. I get the following error trying to compile mp:
-- Build type: Release
-- Performing Test HAVE_STD_CPP11_FLAG
-- Performing Test HAVE_STD_CPP11_FLAG - Failed
-- Performing Test HAVE_STD_CPP0X_FLAG
-- Performing Test HAVE_STD_CPP0X_FLAG - Success
CMake Error at CMakeLists.txt:209 (target_compile_definitions):
target_compile_definitions called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:243 (add_mp_library)
Thanks for the bug report. The minimum supported CMake version right now is 2.8.12 (I think I need to update cmake_minimum_required) because of target_compile_options. So I recommend using a recent version of CMake from here instead of using a PPA.
Okay, I got things working by just downloading the linux binary from the cmake page. You may want to bump the minimum version in CMakeLists.txt though.
cmake 2.8.11 is the latest version for which I could find a PPA which runs on travis. I get the following error trying to compile mp:
https://travis-ci.org/dpo/ampl.jl/jobs/61819188#L217
JuliaSmoothOptimizers/AmplNLReader.jl#7
The text was updated successfully, but these errors were encountered: