Skip to content

Commit

Permalink
Tested on MinGW and Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
drahosp committed Mar 15, 2011
1 parent 33be30b commit 55af5c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ if ( WIN32 AND NOT CYGWIN )
# Windows systems
option ( LUA_WIN "Windows specific build." ON )
option ( LUA_BUILD_AS_DLL "Build Lua library as Dll." ON )
# Paths
set ( LUA_DIRSEP "\\" )
set ( LUA_LDIR "!\\lua\\" CACHE STRING "Pure Lua module location." )
set ( LUA_CDIR "!\\" CACHE STRING "Binary Lua module location." )
set ( LUA_PATH_DEFAULT ".\\?.lua;${LUA_LDIR}?.lua;${LUA_LDIR}?\\init.lua;${LUA_CDIR}?.lua;${LUA_CDIR}?\\init.lua" )
set ( LUA_CPATH_DEFAULT ".\\?${CMAKE_SHARED_MODULE_SUFFIX};${LUA_CDIR}?${CMAKE_SHARED_MODULE_SUFFIX};${LUA_CDIR}loadall${CMAKE_SHARED_MODULE_SUFFIX}" )
# Paths (Double escapes needed)
set ( LUA_DIRSEP "\\\\" )
set ( LUA_LDIR "!\\\\lua\\\\" CACHE STRING "Pure Lua module location." )
set ( LUA_CDIR "!\\\\" CACHE STRING "Binary Lua module location." )
set ( LUA_PATH_DEFAULT ".\\\\?.lua;${LUA_LDIR}?.lua;${LUA_LDIR}?\\\\init.lua;${LUA_CDIR}?.lua;${LUA_CDIR}?\\\\init.lua" )
set ( LUA_CPATH_DEFAULT ".\\\\?${CMAKE_SHARED_MODULE_SUFFIX};${LUA_CDIR}?${CMAKE_SHARED_MODULE_SUFFIX};${LUA_CDIR}loadall${CMAKE_SHARED_MODULE_SUFFIX}" )
else ()
# Posix systems (incl. Cygwin)
option ( LUA_USE_POSIX "Use POSIX functionality." ON )
Expand Down

0 comments on commit 55af5c5

Please sign in to comment.