# - Configuration file for the pxr project # Defines the following variables: # PXR_INCLUDE_DIRS - Root include directory for the installed project. # PXR_LIBRARIES - List of all libraries, by target name. # PXR_foo_LIBRARY - Absolute path to individual libraries. # The preprocessor definition PXR_STATIC will be defined if appropriate set(PXR_CMAKE_DIR "/luma/soft/rez/packages/usd/0.19.05/platform-linux/gcc-6.3") include("${PXR_CMAKE_DIR}/cmake/pxrTargets.cmake") set(libs "arch;tf;gf;js;trace;work;plug;vt;ar;kind;sdf;ndr;sdr;pcp;usd;usdGeom;usdVol;usdLux;usdShade;usdHydra;usdRi;usdSkel;usdUI;usdUtils;usdAbc;sdrOsl;garch;hf;hio;cameraUtil;pxOsd;glf;hd;hdSt;hdx;hdStream;hdEmbree;usdImaging;usdImagingGL;usdShaders;usdSkelImaging;usdVolImaging;usdviewq") set(PXR_LIBRARIES "") set(PXR_INCLUDE_DIRS "${PXR_CMAKE_DIR}/include") string(REPLACE " " ";" libs "${libs}") foreach(lib ${libs}) get_target_property(location ${lib} LOCATION) set(PXR_${lib}_LIBRARY ${location}) list(APPEND PXR_LIBRARIES ${lib}) endforeach() if(NOT ON) if(WIN32) list(APPEND PXR_LIBRARIES Shlwapi.lib) list(APPEND PXR_LIBRARIES Dbghelp.lib) endif() add_definitions(-DPXR_STATIC) endif()