aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-08-24 13:35:20 +0200
committerPierre Ossman <ossman@cendio.se>2022-08-25 12:33:56 +0200
commitf2bbb6b303d1fe96495f5862f22efb6a4cdd22b6 (patch)
tree75432ba139acc55f7b451f8225c9ffcfdf9d1c9c /common/rdr
parent79329c0a8fc6889ec2f70db5992db74f5f92c573 (diff)
downloadtigervnc-f2bbb6b303d1fe96495f5862f22efb6a4cdd22b6.tar.gz
tigervnc-f2bbb6b303d1fe96495f5862f22efb6a4cdd22b6.zip
Move include_directories() to proper places
We should scope these as narrowely as possible to avoid side effects.
Diffstat (limited to 'common/rdr')
-rw-r--r--common/rdr/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt
index 46b36cd5..08c93d8b 100644
--- a/common/rdr/CMakeLists.txt
+++ b/common/rdr/CMakeLists.txt
@@ -1,4 +1,5 @@
-include_directories(${CMAKE_SOURCE_DIR}/common ${ZLIB_INCLUDE_DIRS})
+include_directories(${CMAKE_SOURCE_DIR}/common)
+include_directories(${ZLIB_INCLUDE_DIRS})
add_library(rdr STATIC
BufferedInStream.cxx
@@ -19,6 +20,7 @@ add_library(rdr STATIC
target_link_libraries(rdr ${ZLIB_LIBRARIES} os)
if(GNUTLS_FOUND)
+ include_directories(${GNUTLS_INCLUDE_DIR})
target_link_libraries(rdr ${GNUTLS_LIBRARIES})
endif()
if(WIN32)