Revision: 55872
http://sourceforge.net/p/brlcad/code/55872
Author: vladbogo
Date: 2013-06-27 11:20:22 +0000 (Thu, 27 Jun 2013)
Log Message:
-----------
Additional test for Qt installation. Only works if CMAKE_PREFIX_PATH is set to
Qt installation path.
Modified Paths:
--------------
brlcad/trunk/CMakeLists.txt
Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2013-06-27 09:45:15 UTC (rev 55871)
+++ brlcad/trunk/CMakeLists.txt 2013-06-27 11:20:22 UTC (rev 55872)
@@ -1088,7 +1088,11 @@
endif(BRLCAD_ENABLE_AQUA)
# Enable features requiring Qt
-option(BRLCAD_ENABLE_QT "Enable features requiring Qt" ON)
+find_package(Qt5Widgets)
+option(BRLCAD_ENABLE_QT "Enable features requiring Qt" OFF)
+if(Qt5Widgets_FOUND)
+ set(BRLCAD_ENABLE_QT ON)
+endif(Qt5Widgets_FOUND)
#----------------------------------------------------------------------
# The following are fine-grained options for enabling/disabling compiler
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits