Commit a63669f8 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed linking CLP in the case of MinGW (patch #1872)

parent ca6f2f08
...@@ -67,7 +67,11 @@ if(WITH_CLP) ...@@ -67,7 +67,11 @@ if(WITH_CLP)
if(UNIX) if(UNIX)
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} Clp CoinUtils m) set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} Clp CoinUtils m)
else() else()
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} libClp libCoinUtils) if(MINGW)
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} Clp CoinUtils)
else()
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} libClp libCoinUtils)
endif()
endif() endif()
set(HAVE_CLP TRUE) set(HAVE_CLP TRUE)
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment