Skip to content

Commit

Permalink
Fix MayaUsd_FOUND not being written correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanierd-adsk committed Jan 26, 2024
1 parent 7a7afb1 commit 547153b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/modules/FindMayaUsd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ find_path(MAYAUSD_MOD_PATH
)


# Handle the QUIETLY and REQUIRED arguments and set MAYAUSD_FOUND to TRUE if
# Handle the QUIETLY and REQUIRED arguments and set MayaUsd_FOUND to TRUE if
# all listed variables are TRUE.
include(FindPackageHandleStandardArgs)

Expand All @@ -52,7 +52,7 @@ find_package_handle_standard_args(MAYAUSD
MAYAUSDAPI_LIBRARY
)

if(MAYAUSD_FOUND)
if(MayaUsd_FOUND)
message(STATUS "MayaUsd found : ${MAYAUSD_LOCATION}")
message(STATUS "MayaUsd include dir: ${MAYAUSD_INCLUDE_DIR}")
message(STATUS "MayaUsdAPI library fullpath : ${MAYAUSDAPI_LIBRARY}")
Expand Down
2 changes: 1 addition & 1 deletion cmake/test.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(MAYA_USD_DIR ${CMAKE_CURRENT_SOURCE_DIR})

if(MAYAUSD_FOUND)
if(MayaUsd_FOUND)
#Add MAYAUSD_MOD_PATH (the path where maya USD .mod file is) to the MAYA_MODULE_PATH
# Get the current value of the environment variable
set(CURRENT_MAYA_MODULE_PATH $ENV{MAYA_MODULE_PATH})
Expand Down

0 comments on commit 547153b

Please sign in to comment.