Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntadej committed May 5, 2024
1 parent 194419e commit 11fb9cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/location/macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ function(qmaplibre_location_setup_plugins target)
set(_targetName ${target})
endif()
get_property(_targetDestination TARGET ${target} PROPERTY RUNTIME_OUTPUT_DIRECTORY)
if(_targetDestination)
set(_targetDestination "${_targetDestination}/")
endif()

get_target_property(_targetTypeCore QMapLibre::Core TYPE)
if(_targetTypeCore STREQUAL STATIC_LIBRARY)
Expand All @@ -46,7 +49,7 @@ function(qmaplibre_location_setup_plugins target)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
file(
COPY "${_ImportedLocationGeoServices}"
DESTINATION "${_targetDestination}/${_targetName}.app/Contents/PlugIns/geoservices"
DESTINATION "${_targetDestination}${_targetName}.app/Contents/PlugIns/geoservices"
)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
install(
Expand Down
1 change: 0 additions & 1 deletion test/qml/qt6/tst_map.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (C) 2023 MapLibre contributors


// SPDX-License-Identifier: BSD-2-Clause

import QtQuick 2.15
Expand Down

0 comments on commit 11fb9cd

Please sign in to comment.