mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
Updated build of external libraries for Windows compile
This commit is contained in:
parent
f1847a954f
commit
3640e32974
3 changed files with 69 additions and 228 deletions
|
@ -35,13 +35,13 @@ win32 {
|
|||
DEPENDPATH += . $$INC_DIR
|
||||
INCLUDEPATH += . $$INC_DIR
|
||||
|
||||
OPENCV_VERSION = "249"
|
||||
OPENCV_VERSION = "2413"
|
||||
USE_PRECOMPILED_LIBS =
|
||||
for(lib, LIB_DIR) {
|
||||
#message(Scanning $$lib)
|
||||
exists( $$lib/opencv/libopencv_core249.a) {
|
||||
exists( $$lib/opencv/libopencv_core$${OPENCV_VERSION}.a) {
|
||||
isEmpty(USE_PRECOMPILED_LIBS) {
|
||||
message(Get pre-compiled opencv 249 libraries here:)
|
||||
message(Get pre-compiled opencv $$OPENCV_VERSION libraries here:)
|
||||
message($$lib)
|
||||
LIBS += -L"$$lib/opencv"
|
||||
LIBS += -lopencv_core$$OPENCV_VERSION -lopencv_highgui$$OPENCV_VERSION -lopencv_imgproc$$OPENCV_VERSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue