summaryrefslogtreecommitdiff
path: root/navit/graphics
diff options
context:
space:
mode:
authorJoseph Herlant <herlantj@gmail.com>2018-05-25 22:07:28 -0700
committerJoseph Herlant <aerostitch@users.noreply.github.com>2018-05-25 22:17:50 -0700
commit2a103031eb73c1180287a176e7e9d2e006729329 (patch)
tree671ee7734f701c5e4970fd7d2a4d979cc53bbc2c /navit/graphics
parent41a1264cdd43a11695de85eab0bd3c941abf2b70 (diff)
downloadnavit-2a103031eb73c1180287a176e7e9d2e006729329.tar.gz
cleanup:cmake:retab all CMakeLists.txt files
Diffstat (limited to 'navit/graphics')
-rw-r--r--navit/graphics/CMakeLists.txt4
-rw-r--r--navit/graphics/cocoa/CMakeLists.txt4
-rw-r--r--navit/graphics/opengl/CMakeLists.txt2
-rw-r--r--navit/graphics/qt5/CMakeLists.txt12
4 files changed, 11 insertions, 11 deletions
diff --git a/navit/graphics/CMakeLists.txt b/navit/graphics/CMakeLists.txt
index 004accfc8..9e77d361d 100644
--- a/navit/graphics/CMakeLists.txt
+++ b/navit/graphics/CMakeLists.txt
@@ -4,8 +4,8 @@
add_subdirectory (ezxml)
if (HAVE_API_WIN32_BASE)
-add_subdirectory (glib)
-add_subdirectory (win32)
+ add_subdirectory (glib)
+ add_subdirectory (win32)
endif (HAVE_API_WIN32_BASE)
add_subdirectory (zlib)
diff --git a/navit/graphics/cocoa/CMakeLists.txt b/navit/graphics/cocoa/CMakeLists.txt
index a4cd31d84..6e7d21e4a 100644
--- a/navit/graphics/cocoa/CMakeLists.txt
+++ b/navit/graphics/cocoa/CMakeLists.txt
@@ -1,6 +1,6 @@
if (USE_UIKIT)
-set(graphics_cocoa_LIBS "-framework Foundation" "-framework UIKit" "-framework CoreGraphics" "-liconv")
+ set(graphics_cocoa_LIBS "-framework Foundation" "-framework UIKit" "-framework CoreGraphics" "-liconv")
else()
-set(graphics_cocoa_LIBS "-framework Cocoa" "-liconv")
+ set(graphics_cocoa_LIBS "-framework Cocoa" "-liconv")
endif()
module_add_library(graphics_cocoa graphics_cocoa.m)
diff --git a/navit/graphics/opengl/CMakeLists.txt b/navit/graphics/opengl/CMakeLists.txt
index 1b408e023..382be14c7 100644
--- a/navit/graphics/opengl/CMakeLists.txt
+++ b/navit/graphics/opengl/CMakeLists.txt
@@ -1,6 +1,6 @@
set(graphics_opengl_SOURCES graphics_opengl.c)
if (USE_OPENGLES)
- LIST(APPEND graphics_opengl_SOURCES graphics_opengl_x11.c graphics_opengl_egl.c)
+ LIST(APPEND graphics_opengl_SOURCES graphics_opengl_x11.c graphics_opengl_egl.c)
endif (USE_OPENGLES)
module_add_library(graphics_opengl ${graphics_opengl_SOURCES})
diff --git a/navit/graphics/qt5/CMakeLists.txt b/navit/graphics/qt5/CMakeLists.txt
index ff359e88f..0ba6dbc62 100644
--- a/navit/graphics/qt5/CMakeLists.txt
+++ b/navit/graphics/qt5/CMakeLists.txt
@@ -15,20 +15,20 @@ set(HAVE_FREETYPE 0)
# check if we have FREETYPE
if(font/freetype)
- set(HAVE_FREETYPE 1)
+ set(HAVE_FREETYPE 1)
endif()
# check if we have QML
if(USE_QML)
- set(QML 1)
- qt5_add_resources(QT5_QRC "graphics_qt5.qrc")
- set(GRAPHICS_QT5_ADDITIONAL ${GRAPHICS_QT5_ADDITIONAL} "QNavitQuick.cpp" ${QT5_QRC})
+ set(QML 1)
+ qt5_add_resources(QT5_QRC "graphics_qt5.qrc")
+ set(GRAPHICS_QT5_ADDITIONAL ${GRAPHICS_QT5_ADDITIONAL} "QNavitQuick.cpp" ${QT5_QRC})
endif ()
#check if we have QWIDGET
if(USE_QWIDGET)
- set(QWIDGET 1)
- set(GRAPHICS_QT5_ADDITIONAL ${GRAPHICS_QT5_ADDITIONAL} "QNavitWidget.cpp")
+ set(QWIDGET 1)
+ set(GRAPHICS_QT5_ADDITIONAL ${GRAPHICS_QT5_ADDITIONAL} "QNavitWidget.cpp")
endif ()
module_add_library(graphics_qt5 graphics_qt5.cpp event_qt5.cpp ${GRAPHICS_QT5_ADDITIONAL})