From: DRC Date: Fri, 24 Jun 2011 03:51:02 +0000 (+0000) Subject: Do not run libtool_create_control_file() on Windows. Windows does not like it. X-Git-Tag: v1.1.90~256 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=305937332a0e82fa19314dfa143cf4b9c056c511;p=tigervnc.git 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 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()