← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/html-module-bug-1133260 into lp:zorba/html-module

 

Chris Hillery has proposed merging lp:~zorba-coders/zorba/html-module-bug-1133260 into lp:zorba/html-module.

Commit message:
Set ZORBA_PROPERTY_UNAVAILABLE when libtidy not found.

Requested reviews:
  Chris Hillery (ceejatec)
  Juan Zacarias (juan457)
Related bugs:
  Bug #1133260 in Zorba: "EXPath http-client module builds even if libtidy unavailable"
  https://bugs.launchpad.net/zorba/+bug/1133260

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/html-module-bug-1133260/+merge/155879
-- 
https://code.launchpad.net/~zorba-coders/zorba/html-module-bug-1133260/+merge/155879
Your team Zorba Coders is subscribed to branch lp:zorba/html-module.
=== modified file 'src/CMakeLists.txt'
--- src/CMakeLists.txt	2012-08-04 02:23:35 +0000
+++ src/CMakeLists.txt	2013-03-28 01:05:27 +0000
@@ -36,6 +36,7 @@
     ADD_TEST(zorba_html_module/link_crawler_test_for_compilation "${ZORBA_EXE}" -f -q "${PROJECT_SOURCE_DIR}/test/Queries/link_crawler2.xq2" --compile-only)
   ELSE (LIBTIDY_FOUND)
     MESSAGE (STATUS "LibTidy library not found -- if you want to use HTML Tidy functionality please set LIBTIDY_INCLUDE_DIR and LIBTIDY_LIBRARIES cmake parameters.")
+    SET_PROPERTY (GLOBAL PROPERTY ZORBA_PROJECT_UNAVAILABLE 1)
   ENDIF (LIBTIDY_FOUND)
 ENDIF (ZORBA_SUPPRESS_LIBTIDY)
 MESSAGE (STATUS "")


Follow ups