- 'Generate position dependent code' et to NO. Otherwise crashed at initialization step.
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)