Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm authored Oct 18, 2023
1 parent 96a57b4 commit 2b4a2dc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ endif()
if(MATERIALX_TEST_RENDER)
add_definitions(-DMATERIALX_TEST_RENDER)
endif()
if (MATERIALX_DYNAMIC_ANALYSIS)
add_definitions(-DMATERIALX_DYNAMIC_ANALYSIS)
endif()

if (MATERIALX_BUILD_GEN_MDL)
add_definitions(-DMATERIALX_MDLC_EXECUTABLE=\"${MATERIALX_MDLC_EXECUTABLE}\")
Expand All @@ -186,11 +189,6 @@ if (MATERIALX_BUILD_GEN_MDL)
add_definitions(-DMATERIALX_INSTALL_MDL_MODULE_PATH=\"${MATERIALX_INSTALL_MDL_MODULE_PATH}\")
endif()

# Enable additional benchmark tests
if (MATERIALX_DYNAMIC_ANALYSIS)
add_definitions(-DMATERIALX_DYNAMIC_ANALYSIS)
endif()

# Adjust the default installation path
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/installed" CACHE PATH "Default install path" FORCE)
Expand Down

0 comments on commit 2b4a2dc

Please sign in to comment.