Permalink
Browse files

Fixed path bug in FindLZO module

  • Loading branch information...
1 parent 3a52e2d commit 37369a3b882411e34eeeb39466cb5226390bc0f1 @jeremytregunna jeremytregunna committed May 8, 2010
Showing with 8 additions and 8 deletions.
  1. +8 −8 modules/FindLZO.cmake
View
@@ -7,23 +7,23 @@ if (LZO_INCLUDE_DIR AND LZO_LIBRARIES)
# in cache already
SET(LZO_FOUND TRUE)
else (LZO_INCLUDE_DIR AND LZO_LIBRARIES)
- FIND_PATH(LZO_INCLUDE_DIR lzo1x.h
- ${LZO_ROOT}/include/lzo/
- /usr/include/lzo/
- /usr/local/include/lzo/
- /sw/lib/lzo/
- /sw/local/lib/lzo/
+ FIND_PATH(LZO_INCLUDE_DIR lzo/lzo1x.h
+ ${LZO_ROOT}/include/
+ /usr/include/
+ /usr/local/include/
+ /sw/lib/
+ /sw/local/lib/
)
if(WIN32 AND MSVC)
else(WIN32 AND MSVC)
FIND_LIBRARY(LZO_LIBRARIES NAMES lzo2
PATHS
${LZO_ROOT}/lib
- /sw/lib
- /sw/local/lib
/usr/lib
/usr/local/lib
+ /sw/lib
+ /sw/local/lib
)
endif(WIN32 AND MSVC)

0 comments on commit 37369a3

Please sign in to comment.