Skip to content

Commit

Permalink
temporary debugging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaskenez committed Dec 2, 2024
1 parent a714e51 commit d8e668e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmake/defaults/Packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,17 @@ if (PXR_BUILD_IMAGING)
if(OpenSubdiv_DIR)
set(OPENSUBDIV_LIBRARIES OpenSubdiv::osdCPU OpenSubdiv::osdGPU)
set(OPENSUBDIV_OSDCPU_LIBRARY OpenSubdiv::osdCPU)
message(STATUS "OpenSubdiv found as config, OpenSubdiv_DIR is ${OpenSubdiv_DIR}")
foreach(t OpenSubdiv::osdCPU OpenSubdiv::osdGPU OpenSubdiv::osdCPU_static OpenSubdiv::osdGPU_static OpenSubdiv::OpenSubdiv)
if(TARGET "${t}")
message(STATUS "${t} is TARGET")
else()
message(STATUS "${t} is not TARGET")
endif()
endforeach()
else()
find_package(OpenSubdiv 3 REQUIRED)
message(STATUS "OpenSubdiv found as module")
endif()
# --Ptex
if (PXR_ENABLE_PTEX_SUPPORT)
Expand Down

0 comments on commit d8e668e

Please sign in to comment.