Skip to content

Commit

Permalink
[C++] #3 Adapt httplib library
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghyukcho committed Nov 21, 2019
1 parent 30d980b commit b539628
Show file tree
Hide file tree
Showing 5 changed files with 4,041 additions and 11 deletions.
8 changes: 4 additions & 4 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.15)
project(BrustaCPlusPlus)

set(CMAKE_CXX_STANDARD 17)
find_package(Torch REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

add_subdirectory(src)

add_executable(BrustaCPlusPlus main.cpp)
target_link_libraries(BrustaCPlusPlus "${TORCH_LIBRARIES}")
Loading

0 comments on commit b539628

Please sign in to comment.