Skip to content

Commit

Permalink
Merge pull request #4709 from stephan-rohr/disable_estimators_unit_tests
Browse files Browse the repository at this point in the history
Disable Estimator tests if BUILD_UNIT_TESTS is set to OFF.
  • Loading branch information
prckent authored Aug 24, 2023
2 parents e875bbd + 44eee49 commit e5dfe55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Estimators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ endif()
target_include_directories(qmcestimators PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(qmcestimators PUBLIC containers qmcham qmcparticle qmcutil)

add_subdirectory(tests)
if(BUILD_UNIT_TESTS)
add_subdirectory(tests)
endif()

0 comments on commit e5dfe55

Please sign in to comment.