Skip to content

Commit 674839b

Browse files
Remove shared option because it doesn't work
1 parent d10f91b commit 674839b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

conanfile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ class QtBasemapPluginConan(ConanFile):
88
license = 'LGPL3'
99
url = 'http://code.qt.io/cgit/qt/qtlocation.git/tree/src/plugins/geoservices/mapbox?h=5.10'
1010
description = 'Qt GeoServices plugin for basemaps including MapBox'
11-
options = {'shared': [True, False]}
12-
default_options = 'shared=True'
1311
settings = 'os', 'compiler', 'build_type', 'arch'
1412
generators = 'cmake'
1513
exports_sources = ['CMakeLists.txt', 'src/*']
1614

1715
def build(self):
1816
cmake = CMake(self, parallel=True)
1917
cmake_args = {
20-
'-DBUILD_SHARED_LIBS=': 'ON' if self.options.shared else 'OFF'
18+
'BUILD_SHARED_LIBS': True
2119
}
2220

2321
if(tools.cross_building(self.settings) and

0 commit comments

Comments
 (0)