forked from Wirlaburla/P3NG0
update cmake lists
This commit is contained in:
parent
f33a6f2e33
commit
a8f0a62e33
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user