From f2231e6fb2162bd75328d802658f44f84b0eb20b Mon Sep 17 00:00:00 2001 From: navarrop Date: Thu, 25 Nov 2010 16:29:47 +0000 Subject: [PATCH 1/1] This is not true on windows. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8655 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- buildtools/Cmake/Distrib.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index 753115d38b..6cbd93b64f 100644 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -45,14 +45,14 @@ if(enable_smpi) DESTINATION $ENV{DESTDIR}${prefix}/lib/) endif(enable_smpi) -if(enable_lib_static) +if(enable_lib_static AND NOT WIN32) install(TARGETS simgrid_static DESTINATION $ENV{DESTDIR}${prefix}/lib/) if(enable_smpi) install(TARGETS smpi_static DESTINATION $ENV{DESTDIR}${prefix}/lib/) endif(enable_smpi) -endif(enable_lib_static) +endif(enable_lib_static AND NOT WIN32) # include files foreach(file ${install_HEADERS}) -- 2.20.1