Skip to content

Commit

Permalink
Fix CMake syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Dec 5, 2024
1 parent 04c2251 commit c412ec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,9 @@ if(NOT DEFINED ENV{TAU_ROOT})
get_filename_component(TAU_ROOT ${TAU_EXEC} DIRECTORY) # This will be a bin directory
get_filename_component(TAU_ROOT ${TAU_ROOT} DIRECTORY) # This might be an arch directory
string(REGEX REPLACE "(/x86_64$)|(/apple$)|(/craycnl$)" "" TAU_ROOT ${TAU_ROOT})
set(TAU_ROOT $ENV{TAU_ROOT} CACHE PATH "TAU Root Directory")
endif()
else()
set(TAU_ROOT $ENV{TAU_ROOT} CACHE PATH "TAU Root Directory")
endif()

find_file(TAU_CLANG_MAKEFILE
Expand Down

0 comments on commit c412ec0

Please sign in to comment.