Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from WilliamTambellini/fixCMakeList
Browse files Browse the repository at this point in the history
Fix CMakeList missing Protobuf_INCLUDE_DIRS
  • Loading branch information
jasonriesa authored Aug 19, 2020
2 parents 815cfe3 + b942a1c commit 3b90e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ add_definitions(-fPIC) # Position Independant Code
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
add_definitions(-std=c++11) # Needed for std::to_string(), ...

include_directories(${CMAKE_CURRENT_BINARY_DIR}) # needed to include generated pb headers
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${Protobuf_INCLUDE_DIRS}) # needed to include generated pb headers

add_library(${PROJECT_NAME}
${PROTO_SRCS} ${PROTO_HDRS}
Expand Down

0 comments on commit 3b90e7c

Please sign in to comment.