summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index de404432..7898a573 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -94,9 +94,11 @@ INCLUDE_DIRECTORIES ( library/depends/protobuf/ )
# use shared libraries for protobuf
ADD_DEFINITIONS(-DPROTOBUF_USE_DLLS)
-# build the static lua for dfusion
-INCLUDE_DIRECTORIES ( lua/include )
-add_subdirectory (lua)
+IF(!UNIX)
+ # build the static lua for dfusion, win32 only
+ INCLUDE_DIRECTORIES ( lua/include )
+ add_subdirectory (lua)
+ENDIF()
# build the lib itself
IF(BUILD_LIBRARY)