Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 348292a

Browse files
committed
Merge pull request #1 from yamad/b0dbd1ddd47f72bdf6c1c9b298a8d419b9f9470b
cmake 2.8.8 configure error
2 parents 47bda2e + b0dbd1d commit 348292a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ if ( WIN32 AND NOT CYGWIN )
4141
option ( LUA_WIN "Windows specific build." ON )
4242
option ( LUA_BUILD_AS_DLL "Build Lua library as Dll." ON )
4343
# Paths (Double escapes needed)
44-
set ( LUA_DIRSEP "\\\\" ) string ( REPLACE " /" ${LUA_DIRSEP} LUA_DIR "${LUA_DIR}" )
44+
set ( LUA_DIRSEP "\\\\" )
45+
string ( REPLACE " /" ${LUA_DIRSEP} LUA_DIR "${LUA_DIR}" )
4546
string ( REPLACE "/" ${LUA_DIRSEP} LUA_LDIR "${LUA_LDIR}" )
4647
string ( REPLACE "/" ${LUA_DIRSEP} LUA_CDIR "${LUA_CDIR}" )
4748
string ( REPLACE "/" ${LUA_DIRSEP} LUA_PATH_DEFAULT "${LUA_PATH_DEFAULT}" )

0 commit comments

Comments
 (0)