do not hardcode CMAKE_INSTALL_PREFIX for windows, but rather put it in the script, so that custom build setups still work
if(WIN32 AND NOT UNIX) file(GLOB DLLs *.dll) file(GLOB ICOs *.ico) install(FILES ${DLLs} ${ICOs} DESTINATION ${target_library_install_dir})endif(WIN32 AND NOT UNIX)