Commit 38947c4f authored by Jan Möbius's avatar Jan Möbius
Browse files

New OpenMesh internal paths

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5907 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 221a1f35
......@@ -50,6 +50,7 @@ include (AddFileDependencies)
include (compiler)
add_definitions (-DINCLUDE_TEMPLATES)
include_directories (OpenMesh/src)
if (WIN32)
set (OPENFLIPPER_APPDIR "..")
......
......@@ -603,10 +603,20 @@ defineTest( acg ) {
}
defineTest( openmesh ) {
QMAKE_LIBDIR += $${TOPDIR}/OpenMesh/Core/lib/$${BUILDDIRECTORY}
QMAKE_LIBDIR += $${TOPDIR}/OpenMesh/Tools/lib/$${BUILDDIRECTORY}
LIBS+= -Wl,-rpath=$${TOPDIR}/OpenMesh/Core/lib/$${BUILDDIRECTORY} -lCore
LIBS+= -Wl,-rpath=$${TOPDIR}/OpenMesh/Tools/lib/$${BUILDDIRECTORY} -lTools
INCLUDEPATH += $${TOPDIR}/OpenMesh/src
QMAKE_LIBDIR += $${TOPDIR}/lib/
QMAKE_LIBDIR += $${TOPDIR}/lib/
CONFIG( debug, debug|release ){
LIBS+= -Wl,-rpath=$${TOPDIR}/OpenMesh/lib -lOpenMeshCored
LIBS+= -Wl,-rpath=$${TOPDIR}/OpenMesh/lib -lOpenMeshToolsd
} else {
LIBS+= -Wl,-rpath=$${TOPDIR}/OpenMesh/lib -lOpenMeshCore
LIBS+= -Wl,-rpath=$${TOPDIR}/OpenMesh/lib -lOpenMeshTools
}
export(INCLUDEPATH)
export(QMAKE_LIBDIR)
export(LIBS)
}
......
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