default crt = 0N

This commit is contained in:
Mathis Logemann 2022-08-17 17:16:32 +02:00
parent 54b0381f4d
commit f6bcdac258

View file

@ -31,7 +31,7 @@ mapnik_option(INSTALL_DEPENDENCIES "if ON, all dependencies (eg. required dlls)
mapnik_option(BUILD_SHARED_LIBS "build mapnik dynamic(ON) or static(OFF)" ON) mapnik_option(BUILD_SHARED_LIBS "build mapnik dynamic(ON) or static(OFF)" ON)
mapnik_option(BUILD_SHARED_PLUGINS "build dynamic plugins" ${BUILD_SHARED_LIBS}) # use BUILD_SHARED_LIBS as default option mapnik_option(BUILD_SHARED_PLUGINS "build dynamic plugins" ${BUILD_SHARED_LIBS}) # use BUILD_SHARED_LIBS as default option
mapnik_option(BUILD_SHARED_CRT "(only windows with msvc) use msvc shared crt" ${BUILD_SHARED_LIBS}) # use BUILD_SHARED_LIBS as default option mapnik_option(BUILD_SHARED_CRT "(only windows with msvc) use msvc shared crt" ON)
if(WIN32 AND BUILD_SHARED_PLUGINS AND NOT BUILD_SHARED_LIBS) if(WIN32 AND BUILD_SHARED_PLUGINS AND NOT BUILD_SHARED_LIBS)
message(FATAL_ERROR "static libmapnik and dynamic plugins won't work correctly") message(FATAL_ERROR "static libmapnik and dynamic plugins won't work correctly")
endif() endif()