diff --git a/GraphicsView/demo/Polygon/CMakeLists.txt b/GraphicsView/demo/Polygon/CMakeLists.txt index 1041609640f..4e063081455 100644 --- a/GraphicsView/demo/Polygon/CMakeLists.txt +++ b/GraphicsView/demo/Polygon/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 2.4.5) set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) -find_package(CGAL QUIET COMPONENTS Qt4) +find_package(CGAL QUIET COMPONENTS Qt4 Core) include(${CGAL_USE_FILE}) @@ -16,7 +16,6 @@ set( QT_USE_QTMAIN TRUE ) set( QT_USE_QTSCRIPT TRUE ) set( QT_USE_QTOPENGL TRUE ) - find_package(Qt4 QUIET) include_directories (BEFORE ../../include)