Skip to content

Commit

Permalink
Fix config problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanierd-adsk committed Jan 22, 2024
1 parent 3a8af36 commit 8139e6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ else()
endif()

find_package(MayaUsd OPTIONAL_COMPONENTS)
if(MAYAUSD_FOUND)
if(MayaUsd_FOUND)
message(STATUS "Building with MayaUsd.")
else()
message(STATUS "MayaUsd not used to build.")
Expand Down
6 changes: 3 additions & 3 deletions lib/mayaHydra/hydraExtensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set(HEADERS
target_compile_definitions(${TARGET_NAME}
PRIVATE
MAYAHYDRALIB_EXPORT
$<$<BOOL:${MAYAUSD_FOUND}>:MAYAHYDRALIB_MAYAUSD_ENABLED>
$<$<BOOL:${MayaUsd_FOUND}>:MAYAHYDRALIB_MAYAUSD_ENABLED>
$<$<BOOL:${IS_MACOSX}>:OSMac_>
# Copy-pasted from lib/mayaUsd/CMakeLists.txt
)
Expand All @@ -52,7 +52,7 @@ target_include_directories(${TARGET_NAME}
${CMAKE_BINARY_DIR}/include
PRIVATE
$<$<BOOL:${UFE_FOUND}>:${UFE_INCLUDE_DIR}>
$<$<BOOL:${MAYAUSD_FOUND}>:${MAYAUSD_INCLUDE_DIR}>
$<$<BOOL:${MayaUsd_FOUND}>:${MAYAUSD_INCLUDE_DIR}>
)

target_compile_definitions(${TARGET_NAME}
Expand Down Expand Up @@ -123,7 +123,7 @@ target_link_libraries(${TARGET_NAME}
$<$<BOOL:${USD_001905_BUILD}>:hio>
${PYTHON_LIBRARIES}
$<$<BOOL:${UFE_FOUND}>:${UFE_LIBRARY}>
$<$<BOOL:${MAYAUSD_FOUND}>:${MAYAUSDAPI_LIBRARY}>
$<$<BOOL:${MayaUsd_FOUND}>:${MAYAUSDAPI_LIBRARY}>
)

# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 8139e6d

Please sign in to comment.