summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2012-07-02 01:49:19 -0700
committerPeter Drahoš <drahosp@gmail.com>2012-07-02 01:49:19 -0700
commit348292a5a9c0dbc6ec273a34f48514072ededbf2 (patch)
tree9edf1f5546df672de585e0d0ef8395b1e8e4d22c
parent47bda2e9009c8d290dba0943d437768bddd533d9 (diff)
parentb0dbd1ddd47f72bdf6c1c9b298a8d419b9f9470b (diff)
downloadlua-348292a5a9c0dbc6ec273a34f48514072ededbf2.tar.gz
Merge pull request #1 from yamad/b0dbd1ddd47f72bdf6c1c9b298a8d419b9f9470b
cmake 2.8.8 configure 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}" )