From 44273a12096fe99a847c53480847f90f15622624 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Tue, 14 Mar 2017 09:27:06 +0100 Subject: Fixes some protobuf issues with linuxbrew systems. --- libcmix-protobuf/CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libcmix-protobuf') diff --git a/libcmix-protobuf/CMakeLists.txt b/libcmix-protobuf/CMakeLists.txt index 27eff16..81c4879 100644 --- a/libcmix-protobuf/CMakeLists.txt +++ b/libcmix-protobuf/CMakeLists.txt @@ -13,11 +13,8 @@ add_library(cmix-protobuf set_target_properties(cmix-protobuf PROPERTIES COMPILE_FLAGS -w) -target_include_directories(cmix-protobuf - PUBLIC ${Protobuf_INCLUDE_DIRS} -) - target_include_directories(cmix-protobuf SYSTEM + PUBLIC ${PROTOBUF_INCLUDE_DIRS} PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ) @@ -30,5 +27,5 @@ target_compile_options(cmix-protobuf ) target_link_libraries(cmix-protobuf - PRIVATE ${Protobuf_LIBRARIES} -) \ No newline at end of file + PRIVATE ${PROTOBUF_LIBRARIES} +) -- cgit v1.2.3-70-g09d2