mirror of https://github.com/CGAL/cgal
Fix conditional compilation.
This commit is contained in:
parent
752c1db932
commit
e9fbf83c5c
|
|
@ -6,7 +6,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)
|
||||||
|
|
||||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED Qt3 )
|
find_package(CGAL QUIET COMPONENTS Qt3 )
|
||||||
include( ${CGAL_USE_FILE} )
|
include( ${CGAL_USE_FILE} )
|
||||||
|
|
||||||
find_package(Qt3-patched QUIET)
|
find_package(Qt3-patched QUIET)
|
||||||
|
|
@ -14,7 +14,7 @@ find_package(Qt3-patched QUIET)
|
||||||
# that it can be used together with FindQt4: all its variables are prefixed
|
# that it can be used together with FindQt4: all its variables are prefixed
|
||||||
# by "QT3_" instead of "QT_".
|
# by "QT3_" instead of "QT_".
|
||||||
|
|
||||||
if ( CGAL_FOUND AND QT3_FOUND )
|
if ( CGAL_QT3_FOUND AND QT3_FOUND )
|
||||||
|
|
||||||
# use the Qt MOC preprocessor on classes that derives from QObject
|
# use the Qt MOC preprocessor on classes that derives from QObject
|
||||||
include( Qt3Macros-patched )
|
include( Qt3Macros-patched )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue