summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert G. Jakabosky <bobby@sharedrealm.com>2011-01-08 04:38:21 -0800
committerRobert G. Jakabosky <bobby@sharedrealm.com>2011-01-08 04:38:21 -0800
commitacad1ef8c64fc3526347be8e268f7f1745ef2b76 (patch)
treeef6346ca03b47c745bdfd84d082f473553c39d63
parentba8862c1651d0853f50b3b02339bf8aa5f47a3fd (diff)
downloadluagit2-acad1ef8c64fc3526347be8e268f7f1745ef2b76.tar.gz
Fixed building from pre-generated bindings file.
-rwxr-xr-xCMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ae65ae..5bca13e 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,9 +47,10 @@ include(LuaNativeObjects)
## generate config.h
configure_file(${CMAKE_SOURCE_DIR}/config.h.cmake
- ${CMAKE_SOURCE_DIR}/build/config.h)
+ ${CMAKE_SOURCE_DIR}/build/config.h)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
${LUA_INCLUDE_DIR})
## LuaGit2