update cmake lists

This commit is contained in:
Downforce Agent 2024-01-28 22:22:00 -06:00
parent f33a6f2e33
commit a8f0a62e33

View File

@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.5) cmake_minimum_required(VERSION 3.5)
project(p3ng0) project(tourbot)
SET(CMAKE_CXX_STANDARD 17) SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED True) SET(CMAKE_CXX_STANDARD_REQUIRED True)
SET(CMAKE_CXX_FLAGS "-O3") SET(CMAKE_CXX_FLAGS "-O3")
find_package(CURL REQUIRED) find_package(CURL REQUIRED)
find_package(nlohmann_json 3.2.0 REQUIRED) find_package(nlohmann_json 3.2.0 REQUIRED)
add_subdirectory(src) add_subdirectory(src)
install(TARGETS p3ng0 RUNTIME DESTINATION bin) install(TARGETS tourbot RUNTIME DESTINATION bin)