Do not run libtool_create_control_file() on Windows.  Windows does not like it.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4530 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/Xregion/CMakeLists.txt b/common/Xregion/CMakeLists.txt
index 4cc4f0d..40ca97e 100644
--- a/common/Xregion/CMakeLists.txt
+++ b/common/Xregion/CMakeLists.txt
@@ -1,4 +1,6 @@
 add_library(Xregion STATIC
   Region.c)
 
-libtool_create_control_file(Xregion)
+if(UNIX)
+  libtool_create_control_file(Xregion)
+endif()
diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt
index 9f664de..ddde574 100644
--- a/common/network/CMakeLists.txt
+++ b/common/network/CMakeLists.txt
@@ -3,4 +3,6 @@
 add_library(network STATIC
   TcpSocket.cxx)
 
-libtool_create_control_file(network)
+if(UNIX)
+  libtool_create_control_file(network)
+endif()
diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt
index 6557932..ee71a9b 100644
--- a/common/rdr/CMakeLists.txt
+++ b/common/rdr/CMakeLists.txt
@@ -24,4 +24,6 @@
 
 target_link_libraries(rdr ${RDR_LIBRARIES})
 
-libtool_create_control_file(rdr)
+if(UNIX)
+  libtool_create_control_file(rdr)
+endif()
diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt
index eddbaea..c28b1ac 100644
--- a/common/rfb/CMakeLists.txt
+++ b/common/rfb/CMakeLists.txt
@@ -94,4 +94,6 @@
 
 target_link_libraries(rfb ${RFB_LIBRARIES})
 
-libtool_create_control_file(rfb)
+if(UNIX)
+  libtool_create_control_file(rfb)
+endif()