]> source.dussan.org Git - tigervnc.git/commitdiff
The Windows specific include path should only be used on Windows.
authorPierre Ossman <ossman@cendio.se>
Tue, 8 Mar 2011 16:30:54 +0000 (16:30 +0000)
committerPierre Ossman <ossman@cendio.se>
Tue, 8 Mar 2011 16:30:54 +0000 (16:30 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4335 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/CMakeLists.txt

index d0430496f2e8f5c7795b9c895ec419de660c52ec..d9ccf2f4fec96a72f55f677a187a58fc008899bc 100644 (file)
@@ -1,4 +1,4 @@
-include_directories(${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/win ${JPEG_INCLUDE_DIR})
+include_directories(${CMAKE_SOURCE_DIR}/common ${JPEG_INCLUDE_DIR})
 
 set(RFB_SOURCES
   Blacklist.cxx
@@ -65,6 +65,7 @@ set(RFB_SOURCES
   util.cxx)
 
 if(WIN32)
+  include_directories(${CMAKE_SOURCE_DIR}/win)
   set(RFB_SOURCES ${RFB_SOURCES} WinPasswdValidator.cxx)
 endif(WIN32)