Skip to content

Commit 13639b1

Browse files
committed
Removed excessive dependencies from (asset resolver registration)
1 parent 5144207 commit 13639b1

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

common/CMakeLists.txt

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,13 @@ target_include_directories(ZibraVDBCommon
5252
PUBLIC ${CMAKE_SOURCE_DIR}/external/Include
5353
PUBLIC ${CMAKE_SOURCE_DIR}/SDK/include)
5454

55-
if(LABS_BUILD)
56-
set(LABS_BUILD_VAL 1)
57-
else()
58-
set(LABS_BUILD_VAL 0)
59-
endif()
60-
6155
target_compile_definitions(ZibraVDBCommon PUBLIC
6256
ZIB_NETWORK_REQUEST_BACKEND_${ZIB_NETWORK_REQUEST_BACKEND}=1
63-
ZIB_TARGET_OS_${ZIB_TARGET_OS_NAME}=1
64-
LABS_BUILD=${LABS_BUILD_VAL})
57+
ZIB_TARGET_OS_${ZIB_TARGET_OS_NAME}=1)
6558

6659
target_precompile_headers(ZibraVDBCommon PRIVATE src/PrecompiledHeader.h)
6760
target_link_libraries(ZibraVDBCommon PUBLIC Houdini)
6861

69-
if(NOT LABS_BUILD AND "${ZIB_TARGET_OS_NAME}" STREQUAL "WIN")
70-
target_link_libraries(ZibraVDBCommon PUBLIC
71-
Houdini::Dep::pxr_plug
72-
Houdini::Dep::pxr_tf
73-
)
74-
endif()
75-
7662
function(setup_common_houdini_dependencies target)
7763
message(STATUS "Setting up dependencies for ${target}")
7864
target_link_libraries(${target} PRIVATE Houdini ZibraVDBCommon)

common/src/bridge/LibraryUtils.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22

33
#include "bridge/LibraryUtils.h"
44

5-
#if !LABS_BUILD
6-
#include <pxr/base/plug/registry.h>
7-
#include <pxr/base/tf/type.h>
8-
#endif
9-
105
#include "licensing/LicenseManager.h"
116
#include "utils/Helpers.h"
127

0 commit comments

Comments
 (0)