From 4563bd5e33f294e1a65d0b7e3e520d1170995fe0 Mon Sep 17 00:00:00 2001
From: xantares <xantares09@hotmail.com>
Date: Fri, 3 Oct 2014 17:51:16 +0200
Subject: [PATCH] Do not install if dir in non-msvc platform

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 354ca75..33072d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -211,9 +211,9 @@ install(FILES ${haru_HDRS} DESTINATION include)
 
 # install various files
 install(FILES README CHANGES INSTALL DESTINATION .)
-if(NOT DEVPAK)
+if(MSVC AND NOT DEVPAK)
   install(DIRECTORY if DESTINATION .)
-endif(NOT DEVPAK)
+endif()
 if(DEVPAK)
   install(FILES ${CMAKE_BINARY_DIR}/libharu.DevPackage DESTINATION .)
 endif(DEVPAK)
-- 
2.21.1 (Apple Git-122.3)

