Skip to content

Commit

Permalink
Fixed swapped TAU CXX and C compilers in CMake tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Dec 9, 2024
1 parent 8f55e15 commit a639631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,9 @@ function(compile_instrumented test_src)
endif()

if(${TEST_LANG} STREQUAL "c")
set(TAUC ${TAUCXX})
elseif(${TEST_LANG} STREQUAL "cpp")
set(TAUC ${TAUCC})
elseif(${TEST_LANG} STREQUAL "cpp")
set(TAUC ${TAUCXX})
else()
message( FATAL_ERROR "Unknown test source file extension: ${TEST_LANG}")
endif()
Expand Down

0 comments on commit a639631

Please sign in to comment.