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

Commit 3b90e7c

Browse files
authored
Merge pull request #22 from WilliamTambellini/fixCMakeList
Fix CMakeList missing Protobuf_INCLUDE_DIRS
2 parents 815cfe3 + b942a1c commit 3b90e7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ add_definitions(-fPIC) # Position Independant Code
2424
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
2525
add_definitions(-std=c++11) # Needed for std::to_string(), ...
2626

27-
include_directories(${CMAKE_CURRENT_BINARY_DIR}) # needed to include generated pb headers
27+
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${Protobuf_INCLUDE_DIRS}) # needed to include generated pb headers
2828

2929
add_library(${PROJECT_NAME}
3030
${PROTO_SRCS} ${PROTO_HDRS}

0 commit comments

Comments
 (0)