Merge pull request #4336 from mathisloge/fix/viewer-ini

[CMake] fix generated viewer ini file
This commit is contained in:
Artem Pavlenko 2022-08-16 14:08:20 +01:00 committed by GitHub
commit 8abad1843a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,8 @@ target_link_libraries(mapnik-viewer PRIVATE
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/viewer.ini file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/viewer.ini
"[mapnik] "[mapnik]
plugins_dir=${PLUGINS_INSTALL_DIR} plugins_dir=${PLUGINS_INSTALL_DIR}
fonts/1/dir=${FONTS_INSTALL_DIR}" fonts/1/dir=${FONTS_INSTALL_DIR}
fonts/size=1"
) )
if(QT_VERSION_MAJOR EQUAL 6) if(QT_VERSION_MAJOR EQUAL 6)