Skip to content

Commit

Permalink
Remove unnecessary GENEX_EVAL wrapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
knoepfel committed Nov 15, 2023
1 parent 0fa5993 commit 3031fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/CheckClassVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ function(check_class_version)
endif()
endforeach()
if (TARGET ${dictname}_dict)
list(APPEND CMD_ENV "LD_LIBRARY_PATH=$<GENEX_EVAL:$<JOIN:$<TARGET_PROPERTY:${dictname}_dict,LINK_DIRECTORIES>,:>>")
list(APPEND CMD_ENV "ROOT_INCLUDE_PATH=$<GENEX_EVAL:$<JOIN:$<TARGET_PROPERTY:${dictname}_dict,INCLUDE_DIRECTORIES>,:>>")
list(APPEND CMD_ENV "LD_LIBRARY_PATH=$<JOIN:$<TARGET_PROPERTY:${dictname}_dict,LINK_DIRECTORIES>,:>")
list(APPEND CMD_ENV "ROOT_INCLUDE_PATH=$<JOIN:$<TARGET_PROPERTY:${dictname}_dict,INCLUDE_DIRECTORIES>,:>")
endif()
# Add the check to the end of the dictionary building step.
add_custom_command(OUTPUT ${dictname}_dict_checked
Expand Down

0 comments on commit 3031fe6

Please sign in to comment.