External Library | Clion Add
You have two files: a header ( .h ) and a library binary ( .lib , .a , .so , .dylib ). You need to tell CMake both where to find the headers and which library file to link.
This is where the magic happens. You need to tell CMake that the library exists and link it. clion add external library
cmake_minimum_required(VERSION 3.10) project(MyProject) You have two files: a header (