cmcfarlen commented on code in PR #10598:
URL: https://github.com/apache/trafficserver/pull/10598#discussion_r1357523134


##########
cmake/FindLuaJIT.cmake:
##########
@@ -44,5 +44,6 @@ endif()
 if(LuaJIT_FOUND AND NOT TARGET LuaJIT::LuaJIT)
     add_library(LuaJIT::LuaJIT INTERFACE IMPORTED)
     target_include_directories(LuaJIT::LuaJIT INTERFACE ${LuaJIT_INCLUDE_DIRS})
+    target_link_directories(LuaJIT::LuaJIT INTERFACE ${LuaJIT_LIBRARY_DIRS})
     target_link_libraries(LuaJIT::LuaJIT INTERFACE ${LuaJIT_LIBRARIES})

Review Comment:
   `LuaJIT_LIBRARIES` just has the `luajit-5.1`, but if that isn't in a known 
path then it fails to find it.  So I think it needs both.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to