From 8139e6d2c6d09c47c8a69f3f246c73954e129532 Mon Sep 17 00:00:00 2001 From: David Lanier Date: Mon, 22 Jan 2024 15:29:30 +0100 Subject: [PATCH] Fix config problem. --- CMakeLists.txt | 2 +- lib/mayaHydra/hydraExtensions/CMakeLists.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a155a5e3fb..07cd2557c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.") diff --git a/lib/mayaHydra/hydraExtensions/CMakeLists.txt b/lib/mayaHydra/hydraExtensions/CMakeLists.txt index f8da1bc7cd..5d836ba494 100644 --- a/lib/mayaHydra/hydraExtensions/CMakeLists.txt +++ b/lib/mayaHydra/hydraExtensions/CMakeLists.txt @@ -33,7 +33,7 @@ set(HEADERS target_compile_definitions(${TARGET_NAME} PRIVATE MAYAHYDRALIB_EXPORT - $<$:MAYAHYDRALIB_MAYAUSD_ENABLED> + $<$:MAYAHYDRALIB_MAYAUSD_ENABLED> $<$:OSMac_> # Copy-pasted from lib/mayaUsd/CMakeLists.txt ) @@ -52,7 +52,7 @@ target_include_directories(${TARGET_NAME} ${CMAKE_BINARY_DIR}/include PRIVATE $<$:${UFE_INCLUDE_DIR}> - $<$:${MAYAUSD_INCLUDE_DIR}> + $<$:${MAYAUSD_INCLUDE_DIR}> ) target_compile_definitions(${TARGET_NAME} @@ -123,7 +123,7 @@ target_link_libraries(${TARGET_NAME} $<$:hio> ${PYTHON_LIBRARIES} $<$:${UFE_LIBRARY}> - $<$:${MAYAUSDAPI_LIBRARY}> + $<$:${MAYAUSDAPI_LIBRARY}> ) # -----------------------------------------------------------------------------