P3NG0/CMakeLists.txt

10 lines
287 B
CMake
Raw Normal View History

2023-10-03 14:02:07 -04:00
cmake_minimum_required(VERSION 3.5)
2024-01-28 23:22:00 -05:00
project(tourbot)
2023-10-03 14:02:07 -04:00
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED True)
SET(CMAKE_CXX_FLAGS "-O3")
2023-10-06 14:21:11 -04:00
find_package(CURL REQUIRED)
find_package(nlohmann_json 3.2.0 REQUIRED)
2023-10-03 14:02:07 -04:00
add_subdirectory(src)
2024-01-28 23:22:00 -05:00
install(TARGETS tourbot RUNTIME DESTINATION bin)