1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Configuration - Fixed pathes to 3rd-party in cmake configuration (#523)

Update target_link_libraries to use PUBLIC and PRIVATE visibility for dependencies.
Now all 3rd-party is hidden for the external linking, no more issues to invalid path to 3rd-party
This commit is contained in:
Pasukhin Dmitry
2025-05-15 13:04:14 +01:00
committed by GitHub
parent 81ca522102
commit 469da02ca6
18 changed files with 30 additions and 15 deletions

View File

@@ -3,4 +3,4 @@ project(TKBRep)
OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)
# Add the precompiled header
ADD_PRECOMPILED_HEADER(TKBRep "${CMAKE_CURRENT_SOURCE_DIR}/TKBRep_pch.hxx" FALSE)
ADD_PRECOMPILED_HEADER(TKBRep "TKBRep_pch.hxx" FALSE)

View File

@@ -4,4 +4,5 @@ set(OCCT_TKBRep_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
set(OCCT_TKBRep_FILES
EXTERNLIB
PACKAGES
TKBRep_pch.hxx
)