summaryrefslogtreecommitdiffstats
path: root/common/Xregion/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'common/Xregion/CMakeLists.txt')
-rw-r--r--common/Xregion/CMakeLists.txt4
1 files changed, 3 insertions, 1 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()