aboutsummaryrefslogtreecommitdiff
path: root/libcmix-protobuf/CMakeLists.txt
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2017-03-14 09:27:06 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2017-03-14 09:27:06 +0100
commit44273a12096fe99a847c53480847f90f15622624 (patch)
treed0cce46ca424f981b7adfdf3e88be66453c7ab6d /libcmix-protobuf/CMakeLists.txt
parentb989f4381c77cd95ee06e600e264907991bbd461 (diff)
downloadcmix-44273a12096fe99a847c53480847f90f15622624.tar.gz
cmix-44273a12096fe99a847c53480847f90f15622624.tar.bz2
cmix-44273a12096fe99a847c53480847f90f15622624.zip
Fixes some protobuf issues with linuxbrew systems.
Diffstat (limited to 'libcmix-protobuf/CMakeLists.txt')
-rw-r--r--libcmix-protobuf/CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
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}
+)