From 1299b0d4c635181cf82d65f83e06c4f8fca41568 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Thu, 23 Feb 2012 13:49:07 +0200 Subject: Don't compile Lua on UNIX --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a5bf2d12..7ba939ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,9 +79,11 @@ ENDIF() #add depends to include path INCLUDE_DIRECTORIES ( library/depends ) -# 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) -- cgit v1.2.1