diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/Xregion/CMakeLists.txt | 4 | ||||
-rw-r--r-- | common/network/CMakeLists.txt | 4 | ||||
-rw-r--r-- | common/rdr/CMakeLists.txt | 4 | ||||
-rw-r--r-- | common/rfb/CMakeLists.txt | 4 |
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() |