Fixed include path when using internal zlib.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 11 Feb 2011 00:19:22 -0500
changeset 1139 861def17a888
parent 1138 e57e3936d071
child 1140 079b6bf97b23
Fixed include path when using internal zlib.
CMakeLists.txt
--- a/CMakeLists.txt	Thu Feb 10 16:54:09 2011 -0500
+++ b/CMakeLists.txt	Fri Feb 11 00:19:22 2011 -0500
@@ -293,7 +293,7 @@
     ENDIF(ZLIB_FOUND)
 
     IF(PHYSFS_INTERNAL_ZLIB)
-        INCLUDE_DIRECTORIES(zlib123)
+        INCLUDE_DIRECTORIES(./src/zlib123)
         ADD_DEFINITIONS(-DZ_PREFIX=1)
         SET(PHYSFS_SRCS ${PHYSFS_SRCS} ${ZLIB_SRCS})
     ELSE(PHYSFS_INTERNAL_ZLIB)