Advertisement
Juzy_Lagrange

Untitled

Apr 10th, 2023 (edited)
703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.23 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.2)
  2. find_package(nlohmann_json)
  3.  
  4.  
  5.  
  6. add_library(model STATIC  model.cpp model.h)
  7.  
  8.  
  9. target_link_libraries(model PRIVATE nlohmann_json::nlohmann_json)
  10. target_link_libraries(model PRIVATE cpr::cpr)
Tags: CMake2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement