Clion Add External Library Here
By Alex Mitchell | Estimated read time: 8 minutes
vcpkg install sdl2 Then in CMake:
include(FetchContent) FetchContent_Declare( fmt GIT_REPOSITORY https://github.com/fmtlib/fmt.git GIT_TAG master ) FetchContent_MakeAvailable(fmt) target_link_libraries(my_app PRIVATE fmt::fmt) clion add external library