summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-06-24 03:51:02 +0000
committerDRC <dcommander@users.sourceforge.net>2011-06-24 03:51:02 +0000
commit305937332a0e82fa19314dfa143cf4b9c056c511 (patch)
tree56e38bcc99ea4ddd19073f2453f2b9a9212b126c /common
parent56e625c5da1bbac86d5e73fed822a73b0b9b20cd (diff)
downloadtigervnc-305937332a0e82fa19314dfa143cf4b9c056c511.tar.gz
tigervnc-305937332a0e82fa19314dfa143cf4b9c056c511.zip
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
Diffstat (limited to 'common')
-rw-r--r--common/Xregion/CMakeLists.txt4
-rw-r--r--common/network/CMakeLists.txt4
-rw-r--r--common/rdr/CMakeLists.txt4
-rw-r--r--common/rfb/CMakeLists.txt4
4 files changed, 12 insertions, 4 deletions
diff --git a/common/Xregion/CMakeLists.txt b/common/Xregion/CMakeLists.txt
index 4cc4f0dd..40ca97e4 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 9f664de8..ddde5745 100644
--- a/common/network/CMakeLists.txt
+++ b/common/network/CMakeLists.txt
@@ -3,4 +3,6 @@ include_directories(${CMAKE_SOURCE_DIR}/common)
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 6557932d..ee71a9bb 100644
--- a/common/rdr/CMakeLists.txt
+++ b/common/rdr/CMakeLists.txt
@@ -24,4 +24,6 @@ endif()
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 eddbaea4..c28b1ac9 100644
--- a/common/rfb/CMakeLists.txt
+++ b/common/rfb/CMakeLists.txt
@@ -94,4 +94,6 @@ add_library(rfb STATIC ${RFB_SOURCES})
target_link_libraries(rfb ${RFB_LIBRARIES})
-libtool_create_control_file(rfb)
+if(UNIX)
+ libtool_create_control_file(rfb)
+endif()