Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove trailing whitespaces from CMakeLists.txt
  • Loading branch information
jef-n committed Jan 14, 2021
1 parent 50a9836 commit 6b834f4
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -729,11 +729,11 @@ if (WITH_CORE)
set (DEFAULT_CGIBIN_SUBDIR .)
endif()
else()

if(APPLE)
set(QGIS_MACAPP_FRAMEWORK TRUE CACHE BOOL "Build as a framework on OSX")
endif()

if (APPLE AND QGIS_MACAPP_FRAMEWORK)
if (POLICY CMP0042) # in CMake 3.0.0+
set (CMAKE_MACOSX_RPATH OFF) # otherwise ON by default
Expand Down Expand Up @@ -807,7 +807,7 @@ if (WITH_CORE)
set (DEFAULT_QML_SUBDIR qml)

set (DEFAULT_SERVER_MODULE_SUBDIR ${DEFAULT_LIBEXEC_SUBDIR}/server)

# QGIS_MACAPP_FRAMEWORK=FALSE
if(APPLE)
set (QGIS_MACAPP_BUNDLE -1)
Expand Down
2 changes: 1 addition & 1 deletion external/o2/examples/twitterdemo/CMakeLists.txt
Expand Up @@ -21,7 +21,7 @@ endif(o2_WITH_QT5)
if (NOT o2_WITH_QT5)
include( ${QT_USE_FILE} )
endif(NOT o2_WITH_QT5)

include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} "../../src" )

set(fb_SRCS
Expand Down
2 changes: 1 addition & 1 deletion images/svg/CMakeLists.txt
Expand Up @@ -26,7 +26,7 @@ set (SVG_DIRS
transport
wind_roses
)

foreach (SVG_DIR ${SVG_DIRS})
file(GLOB_RECURSE IMAGES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${SVG_DIR}/*.svg)
set(SVG_FILES ${SVG_FILES} ${IMAGES})
Expand Down
4 changes: 2 additions & 2 deletions src/providers/grass/CMakeLists.txt
Expand Up @@ -171,8 +171,8 @@ macro(ADD_GRASSLIB GRASS_BUILD_VERSION)
set_target_properties(grassrasterprovider${GRASS_BUILD_VERSION} PROPERTIES
COMPILE_FLAGS "-DGRASS_BASE=\\\"${GRASS_PREFIX}\\\""
)
target_link_libraries(grassrasterprovider${GRASS_BUILD_VERSION}
qgisgrass${GRASS_BUILD_VERSION}
target_link_libraries(grassrasterprovider${GRASS_BUILD_VERSION}
qgisgrass${GRASS_BUILD_VERSION}
qgis_core
)

Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/CMakeLists.txt
Expand Up @@ -146,7 +146,7 @@ else()
target_link_libraries (postgresprovider
qgis_gui
)
add_dependencies(postgresprovider ui)
add_dependencies(postgresprovider ui)
endif()


Expand Down
4 changes: 2 additions & 2 deletions tests/src/geometry_checker/CMakeLists.txt
Expand Up @@ -3,7 +3,7 @@
#####################################################
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/src/test
${CMAKE_SOURCE_DIR}/src/plugins
Expand All @@ -18,7 +18,7 @@ include_directories(SYSTEM
#qtests in the executable file list as the moc is
#directly included in the sources
#and should not be compiled twice. Trying to include
#them in will cause an error at build time
#them in will cause an error at build time

#No relinking and full RPATH for the install tree
#See: http://www.cmake.org/Wiki/CMake_RPATH_handling#No_relinking_and_full_RPATH_for_the_install_tree
Expand Down
4 changes: 2 additions & 2 deletions tests/src/providers/CMakeLists.txt
Expand Up @@ -3,7 +3,7 @@
#####################################################
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/src/providers/wms
${CMAKE_SOURCE_DIR}/src/providers/postgres
Expand All @@ -20,7 +20,7 @@ include_directories(SYSTEM
#qtests in the executable file list as the moc is
#directly included in the sources
#and should not be compiled twice. Trying to include
#them in will cause an error at build time
#them in will cause an error at build time

#No relinking and full RPATH for the install tree
#See: http://www.cmake.org/Wiki/CMake_RPATH_handling#No_relinking_and_full_RPATH_for_the_install_tree
Expand Down

0 comments on commit 6b834f4

Please sign in to comment.