summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2012-03-30 08:20:55 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-03-30 08:20:55 (GMT)
commitf5bb71121abe95d3a381b58a060f383833fef400 (patch)
tree5e63f0490b8cb03e122c44d1a30e57d6f7dd162b
parenta4f04debd6c062162c8c07d4e759699c7ee518a8 (diff)
downloadlibkolabxml-f5bb71121abe95d3a381b58a060f383833fef400.tar.gz
Compile on non windows
-rw-r--r--src/csharp/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/csharp/CMakeLists.txt b/src/csharp/CMakeLists.txt
index 7fbe87e..ba157a7 100644
--- a/src/csharp/CMakeLists.txt
+++ b/src/csharp/CMakeLists.txt
@@ -1,6 +1,11 @@
# Generate C# wrapper
include_directories(../)
+if (NOT WIN32)
+ #The following assumes windows, so we exit otherwise
+ return()
+endif()
+
set(KOLAB_SWIG_CSHARP_SOURCE_FILE ${CMAKE_CURRENT_BINARY_DIR}/csharp_kolabformat_wrapper.cpp)
set(KOLAB_SWIG_CSHARP_DLL_FILE ${CMAKE_CURRENT_BINARY_DIR}/kolabformat.dll)
set(KOLAB_SWIG_CSHARP_TEST_FILE ${CMAKE_CURRENT_BINARY_DIR}/test.exe)