TheMorningShowS04E10-673.jpg
TheMorningShowS04E10-669.jpg
TheMorningShowS04E10-670.jpg
TheMorningShowS04E10-671.jpg
TheMorningShowS04E10-672.jpg
TheMorningShowS04E10-665.jpg
TheMorningShowS04E10-666.jpg
TheMorningShowS04E10-667.jpg
TheMorningShowS04E10-668.jpg
TheMorningShowS04E10-663.jpg
TheMorningShowS04E10-664.jpg
TheMorningShowS04E10-659.jpg
TheMorningShowS04E10-660.jpg

find_package(Boost 1.75 REQUIRED COMPONENTS filesystem system) if(Boost_FOUND) target_link_libraries(my_app PRIVATE Boost::filesystem Boost::system) endif() CMake will automatically search standard system paths, or paths you hint via -DCMAKE_PREFIX_PATH . Not every library provides CMake configs. For those, you can use pkg-config (common on Linux):

Now go forth and link without fear! Have a library that just won’t cooperate? Drop the error message in the comments, and I’ll help you debug it.

find_package(SDL2 CONFIG REQUIRED) target_link_libraries(my_game PRIVATE SDL2::SDL2)

Example: Adding the popular fmt library:

Clion Add External Library Online

find_package(Boost 1.75 REQUIRED COMPONENTS filesystem system) if(Boost_FOUND) target_link_libraries(my_app PRIVATE Boost::filesystem Boost::system) endif() CMake will automatically search standard system paths, or paths you hint via -DCMAKE_PREFIX_PATH . Not every library provides CMake configs. For those, you can use pkg-config (common on Linux):

Now go forth and link without fear! Have a library that just won’t cooperate? Drop the error message in the comments, and I’ll help you debug it. clion add external library

find_package(SDL2 CONFIG REQUIRED) target_link_libraries(my_game PRIVATE SDL2::SDL2) find_package(Boost 1

Example: Adding the popular fmt library: clion add external library