View Issue Details

IDProjectCategoryView StatusLast Update
0032046CommunityOCCT:Configurationpublic2022-10-24 10:39
Reportertaoyouh Assigned Totaoyouh  
Status feedbackResolutionopen 
PlatformWindowsOSVC++ 2015 
Product Version7.5.0 
Target Version7.8.0 
Summary0032046: Configuration - CMake Installs .lib files to libd instead of lib on Windows
DescriptionAfter using CMake install with the following settings, .lib files on Windows are installed in libd, but .so files on Linux are installed in lib. The .lib files are expected to be saved in "lib" as I configured, or they should have the same behavior on Windows and Linux.

TagsNo tags attached.
Test case number


related to 0032035 feedbackefferre79 Community Configuration - bug in OpenCASCADEConfig.cmake when using INSTALL_DIR_CMAKE 



2021-01-11 16:21

administrator   ~0098077


For what reason you :
1. use Unix layout on Windows
2. are not satisfied condition for Windows
  lib - Release libraries
  libd - Debug libraries


2021-01-12 07:36

developer   ~0098082

Last edited: 2021-01-12 07:36

I am integrating Open Cascade with a package manager (conan), which maintains the list of lib files by itself without using CMake. Thus, I need a universal package layout, so I don't need to figure out whether they are in "win64/vc14" or "lin64/gcc", "lib" or "libd".

With the current behavior, I need to check whether the library files are in "lib" or "libd". Everyone using custom build systems or package managers will face this problem. I hope that files can be in the same directory across all platforms.

Issue History

Date Modified Username Field Change
2021-01-10 16:39 taoyouh New Issue
2021-01-10 16:39 taoyouh Assigned To => bugmaster
2021-01-10 17:11 kgv Target Version => 7.6.0
2021-01-10 17:11 kgv Summary CMake Installs .lib files to libd instead of lib on Windows => Configuration - CMake Installs .lib files to libd instead of lib on Windows
2021-01-11 16:21 bugmaster Note Added: 0098077
2021-01-11 16:21 bugmaster Assigned To bugmaster => taoyouh
2021-01-11 16:21 bugmaster Status new => feedback
2021-01-12 07:36 taoyouh Note Added: 0098082
2021-01-12 07:36 taoyouh Note Edited: 0098082
2021-01-12 15:44 kgv Relationship added related to 0032035
2021-11-01 18:14 szy Target Version 7.6.0 => 7.7.0
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0