Merge lp:~zorba-coders/zorba/oauth-module-installers into lp:zorba/oauth-module

Proposed by Chris Hillery
Status: Merged
Approved by: Juan Zacarias
Approved revision: 27
Merged at revision: 24
Proposed branch: lp:~zorba-coders/zorba/oauth-module-installers
Merge into: lp:zorba/oauth-module
Diff against target: 37 lines (+21/-7)
1 file modified
CMakeLists.txt (+21/-7)
To merge this branch: bzr merge lp:~zorba-coders/zorba/oauth-module-installers
Reviewer Review Type Date Requested Status
Juan Zacarias Approve
Chris Hillery Approve
Review via email: mp+118229@code.launchpad.net

Commit message

Updated installer logic for oauth module; now depends on HTML module.

To post a comment you must log in.
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Juan Zacarias (juan457) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job oauth-module-installers-2012-08-04T05-16-25.736Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2011-08-10 14:04:57 +0000
3+++ CMakeLists.txt 2012-08-04 02:30:27 +0000
4@@ -23,12 +23,26 @@
5 FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")
6 INCLUDE ("${Zorba_USE_FILE}")
7
8-FIND_PACKAGE(zorba_data-converters_module REQUIRED
9- HINTS ${HTTP-CLIENT_BUILD_DIR})
10-FIND_PACKAGE(zorba_security_module REQUIRED
11- HINTS ${SECURITY_BUILD_DIR})
12-
13-ADD_TEST_DIRECTORY("${PROJECT_SOURCE_DIR}/test")
14-ADD_SUBDIRECTORY("src")
15+# The _SUPPRESS variables are a work-around for the Ubuntu packaging process.
16+IF (NOT SUPPRESS_HTML_MODULE_FIND_PACKAGE)
17+ FIND_PACKAGE(zorba_html_module
18+ HINTS ${HTML_BUILD_DIR})
19+ELSE (NOT SUPPRESS_HTML_MODULE_FIND_PACKAGE)
20+ SET (zorba_html_module_FOUND 1)
21+ENDIF (NOT SUPPRESS_HTML_MODULE_FIND_PACKAGE)
22+
23+IF (NOT SUPPRESS_SECURITY_MODULE_FIND_PACKAGE)
24+ FIND_PACKAGE(zorba_security_module
25+ HINTS ${SECURITY_BUILD_DIR})
26+ELSE (NOT SUPPRESS_SECURITY_MODULE_FIND_PACKAGE)
27+ SET (zorba_security_module_FOUND 1)
28+ENDIF (NOT SUPPRESS_SECURITY_MODULE_FIND_PACKAGE)
29+
30+IF (zorba_html_module_FOUND AND zorba_security_module_FOUND)
31+ ADD_TEST_DIRECTORY("${PROJECT_SOURCE_DIR}/test")
32+ ADD_SUBDIRECTORY("src")
33+ELSE ( zorba_html_module_FOUND AND zorba_security_module_FOUND)
34+ MESSAGE (STATUS "Didn't find Zorba's HTML and Security modules - skipping OAuth module")
35+ENDIF ( zorba_html_module_FOUND AND zorba_security_module_FOUND)
36
37 DONE_DECLARING_ZORBA_URIS()

Subscribers

People subscribed via source and target branches

to all changes: