diff -rupN CGNS-3.3.1/src/CMakeLists.txt CGNS-3.3.1-new/src/CMakeLists.txt --- CGNS-3.3.1/src/CMakeLists.txt 2017-07-17 04:32:33.000000000 +0200 +++ CGNS-3.3.1-new/src/CMakeLists.txt 2017-07-27 19:17:12.807282320 +0200 @@ -558,7 +558,8 @@ if(CGNS_BUILD_SHARED) endif(CGNS_BUILD_SHARED) # Set the install path of the static library -install(TARGETS cgns_static ARCHIVE DESTINATION lib) +install(TARGETS cgns_static LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) # Set the install path of the shared library if(CGNS_BUILD_SHARED) # for windows, need to install both cgnsdll.dll and cgnsdll.lib