diff --git a/CMakeLists.txt b/CMakeLists.txt index d070550..a191805 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -599,7 +599,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${VERSION} SOVERSION ${SOVERSION} LINKER_LANGUAGE C - PREFIX "" + PREFIX ${CMAKE_SHARED_LIBRARY_PREFIX} DEFINE_SYMBOL "MZ_EXPORTS" POSITION_INDEPENDENT_CODE 1) if(MZ_LZMA) @@ -804,4 +804,4 @@ if(MZ_BUILD_FUZZ_TEST) install(TARGETS zip_fuzzer RUNTIME DESTINATION "bin") install(TARGETS unzip_fuzzer RUNTIME DESTINATION "bin") endif() -endif() +endif() \ No newline at end of file