Skip to content

Commit

Permalink
HOMME: do not add dependency on cprnc if building without PIO
Browse files Browse the repository at this point in the history
  • Loading branch information
oksanaguba authored and bartgol committed Sep 6, 2024
1 parent c688191 commit d2853f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/homme/test_execs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,11 @@ ADD_CUSTOM_TARGET(test-execs)
ADD_CUSTOM_TARGET(check
COMMAND ${CMAKE_CTEST_COMMAND} "--output-on-failure")

if(NOT BUILD_HOMME_WITHOUT_PIOLIBRARY)
# Force cprnc to be built when make check is run
ADD_DEPENDENCIES(check cprnc)
endif()


# Create a target for making the reference data
ADD_CUSTOM_TARGET(baseline
Expand Down

0 comments on commit d2853f9

Please sign in to comment.