Skip to content
Snippets Groups Projects
Commit 897433bd authored by andreadelprete's avatar andreadelprete
Browse files

Fix bug in cmakelist.

parent c4de27ce
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ endif()
SETUP_PROJECT()
# Inhibit all warning messages.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
# remove flag that makes all warnings into errors
string (REPLACE "-Werror" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
......
......@@ -39,7 +39,7 @@ typedef Eigen::Matrix <value_type, Eigen::Dynamic, 6, Eigen::RowMajor>
typedef Eigen::Matrix <value_type, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> MatrixXX;
//define Eigen ref if available
#if EIGEN_VERSION_AT_LEAST(3,2,0)
#if EIGEN_VERSION_AT_LEAST(3,2,2)
typedef Eigen::Ref<Vector2> Ref_vector2;
typedef Eigen::Ref<Vector3> Ref_vector3;
typedef Eigen::Ref<VectorX> Ref_vectorX;
......
......@@ -6,7 +6,7 @@ include_directories("${EIGEN3_INCLUDE_DIR}")
include_directories("${CDD_INCLUDE_DIR}")
include_directories("${qpOASES_INCLUDE_DIR}")
if( DEFINED CLP_FOUND)
if(CLP_FOUND)
include_directories("${CLP_INCLUDE_DIR}")
endif()
......@@ -37,7 +37,7 @@ endif ( MSVC )
TARGET_LINK_LIBRARIES(robust-equilibrium-lib ${CDD_LIBRARY}
${qpOASES_LIBRARY})
if( DEFINED CLP_FOUND)
if(CLP_FOUND)
TARGET_LINK_LIBRARIES(robust-equilibrium-lib ${CLP_LIBRARY}
/usr/lib/libCoinUtils.so)
endif()
......
......@@ -5,7 +5,7 @@ include_directories("${INCLUDE_DIR}")
include_directories("${EIGEN3_INCLUDE_DIR}")
include_directories("${CDD_INCLUDE_DIR}")
include_directories("${qpOASES_INCLUDE_DIR}")
if(DEFINED CLP_FOUND)
if(CLP_FOUND)
include_directories("${CLP_INCLUDE_DIR}")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment