projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7172d89
)
Tell CMake not to include QtAssistant if not available
author
Diane Trout
<diane@caltech.edu>
Thu, 15 Jun 2006 06:23:30 +0000
(06:23 +0000)
committer
Diane Trout
<diane@caltech.edu>
Thu, 15 Jun 2006 06:23:30 +0000
(06:23 +0000)
qui/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/qui/CMakeLists.txt
b/qui/CMakeLists.txt
index 2b5f0a82ec4534b0cc9aa0b9b1d00507dc414571..b3dd1d8a7759363840ecbd6dfd4c4b1319b1ccc9 100644
(file)
--- a/
qui/CMakeLists.txt
+++ b/
qui/CMakeLists.txt
@@
-4,8
+4,10
@@
FIND_PROGRAM(QT_MOC_EXECUTABLE moc-qt4 )
FIND_PACKAGE(Qt4)
SET(QT_USE_QTOPENGL 1)
-SET(QT_USE_QTASSISTANT 1)
-SET(QT_USE_QTNETWORK 1)
+IF(QT_ASSISTANT_LIB)
+ SET(QT_USE_QTNETWORK 1)
+ SET(QT_USE_QTASSISTANT 1)
+ENDIF(QT_ASSISTANT_LIB)
INCLUDE( ${QT_USE_FILE} )
FIND_PACKAGE(OpenGL)
FIND_PACKAGE(Boost)