summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryamad <jyamada1@gmail.com>2012-07-01 14:07:58 -0400
committeryamad <jyamada1@gmail.com>2012-07-01 14:07:58 -0400
commitb0dbd1ddd47f72bdf6c1c9b298a8d419b9f9470b (patch)
tree9edf1f5546df672de585e0d0ef8395b1e8e4d22c
parent47bda2e9009c8d290dba0943d437768bddd533d9 (diff)
downloadlua-b0dbd1ddd47f72bdf6c1c9b298a8d419b9f9470b.tar.gz
add newline between commands, fixes cmake 2.8.8 error
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e445082..fef40e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,8 @@ if ( WIN32 AND NOT CYGWIN )
option ( LUA_WIN "Windows specific build." ON )
option ( LUA_BUILD_AS_DLL "Build Lua library as Dll." ON )
# Paths (Double escapes needed)
- set ( LUA_DIRSEP "\\\\" ) string ( REPLACE " /" ${LUA_DIRSEP} LUA_DIR "${LUA_DIR}" )
+ set ( LUA_DIRSEP "\\\\" )
+ string ( REPLACE " /" ${LUA_DIRSEP} LUA_DIR "${LUA_DIR}" )
string ( REPLACE "/" ${LUA_DIRSEP} LUA_LDIR "${LUA_LDIR}" )
string ( REPLACE "/" ${LUA_DIRSEP} LUA_CDIR "${LUA_CDIR}" )
string ( REPLACE "/" ${LUA_DIRSEP} LUA_PATH_DEFAULT "${LUA_PATH_DEFAULT}" )