MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #30977 All Revisions ] Back to Issue ]
Summary 0030977: Configuration, CMake - OpenCASCADEConfig.cmake defines wrong dependency paths with -DINSTALL_FREETYPE=On
Revision 2020-03-04 11:43 by kgv
Steps To Reproduce 1. Build shared+debug OCCT:
cmake -Bwin64-msvc2015-debug-shared -GNinja -DCMAKE_BUILD_TYPE=Release -DINSTALL_FREETYPE=On -D3RDPARTY_FREETYPE_DIR=/d/opt/nf-libs/freetype-2.5.5/win64-msvc2015-debug-shared 
-DINSTALL_TCL=On -D3RDPARTY_TCL_DIR=/d/opt/nf-libs/tcltk-8.6.2/win64-msvc2015-debug-shared -D3RDPARTY_TK_DIR=/d/opt/nf-libs/tcltk-8.6.2/win64-msvc2015-debug-shared 
-DCMAKE_INSTALL_PREFIX=/d/opt/nf-libs/opencascade-7.3.0/win64-msvc2015-debug-shared

2. Inspect generated CMake config. scripts:

grep -rni freetype /d/opt/nf-libs/opencascade-7.3.0/win64-msvc2015-debug-shared/cmake


OpenCASCADEDrawTargets.cmake:69:  INTERFACE_LINK_LIBRARIES "TKGeomBase;TKFillet;TKBRep;TKTopAlgo;TKHLR;TKernel;TKMath;TKService;TKShHealing;TKBool;TKPrim;TKGeomAlgo;TKG2d;TKTopTest;TKG3d;TKOffset;TKMesh;TKV3d;TKDraw;TKOpenGl;D:/opt/nf-libs/tcltk-8.6.2/win64-msvc2015-release-shared/lib/tcl86.lib;D:/opt/nf-libs/tcltk-8.6.2/win64-msvc2015-release-shared/lib/tk86.lib;user32.lib;gdi32.lib;opengl32.lib;D:/opt/nf-libs/freetype-2.5.5/win64-msvc2015-release-shared/lib/freetype.lib"

OpenCASCADEVisualizationTargets.cmake:55:  INTERFACE_LINK_LIBRARIES "TKernel;TKMath;TKBRep;TKShHealing;TKGeomBase;TKGeomAlgo;TKG2d;TKG3d;TKTopAlgo;opengl32.lib;windowscodecs;D:/opt/nf-libs/freetype-2.5.5/win64-msvc2015-release-shared/lib/freetype.lib"

OpenCASCADEVisualizationTargets.cmake:62:  INTERFACE_LINK_LIBRARIES "TKBRep;TKMath;TKernel;TKService;TKShHealing;TKTopAlgo;TKG2d;TKG3d;TKGeomBase;TKMesh;TKGeomAlgo;TKHLR;user32.lib;gdi32.lib;opengl32.lib;D:/opt/nf-libs/freetype-2.5.5/win64-msvc2015-release-shared/lib/freetype.lib"

OpenCASCADEVisualizationTargets.cmake:69:  INTERFACE_LINK_LIBRARIES "TKernel;TKService;TKMath;TKV3d;D:/opt/nf-libs/freetype-2.5.5/win64-msvc2015-release-shared/lib/freetype.lib;opengl32.lib;user32.lib;gdi32.lib"

Revision 2019-09-17 13:38 by mblanchard
Steps To Reproduce 1. Build shared+debug OCCT:

cmake -Bwin64-msvc2015-debug-shared -GNinja -DCMAKE_BUILD_TYPE=Release -DINSTALL_FREETYPE=On -D3RDPARTY_FREETYPE_DIR=/d/opt/nf-libs/freetype-2.5.5/win64-msvc2015-debug-shared -DINSTALL_TCL=On -D3RDPARTY_TCL_DIR=/d/opt/nf-libs/tcltk-8.6.2/win64-msvc2015-debug-shared -D3RDPARTY_TK_DIR=/d/opt/nf-libs/tcltk-8.6.2/win64-msvc2015-debug-shared -DCMAKE_INSTALL_PREFIX=/d/opt/nf-libs/opencascade-7.3.0/win64-msvc2015-debug-shared

2. Inspect generated CMake config. scripts:

grep -rni freetype /d/opt/nf-libs/opencascade-7.3.0/win64-msvc2015-debug-shared/cmake


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker