adding external libraries

    
include_directories(external_libraries/JoltPhysics)
add_subdirectory(external_libraries/JoltPhysics/Build)
    

Now hunt in the projects own cmake list for the name of the library, in our case it's Jolt and so we add the line:

    
target_link_libraries(${PROJECT_NAME} Jolt)
    

edit this page