Skip to content

Commit

Permalink
Minor configuration updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinbhat committed Oct 20, 2023
1 parent d801b8a commit ea91fc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ endif()
if(MATERIALX_TEST_RENDER)
add_definitions(-DMATERIALX_TEST_RENDER)
endif()
if (MATERIALX_DYNAMIC_ANALYSIS)
add_definitions(-DMATERIALX_DYNAMIC_ANALYSIS)
endif()
if (MATERIALX_BUILD_BENCHMARK_TESTS)
add_definitions(-DMATERIALX_BUILD_BENCHMARK_TESTS)
endif()
Expand Down
4 changes: 3 additions & 1 deletion source/MaterialXTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ set_target_properties(
SOVERSION "${MATERIALX_MAJOR_VERSION}")

# Enable Catch benchmarking
target_compile_definitions(MaterialXTest PRIVATE -DCATCH_CONFIG_ENABLE_BENCHMARKING)
if(MATERIALX_BUILD_BENCHMARK_TESTS)
target_compile_definitions(MaterialXTest PRIVATE -DCATCH_CONFIG_ENABLE_BENCHMARKING)
endif()

target_link_libraries(
MaterialXTest
Expand Down

0 comments on commit ea91fc1

Please sign in to comment.