summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert G. Jakabosky <bobby@sharedrealm.com>2012-05-12 01:51:49 -0700
committerRobert G. Jakabosky <bobby@sharedrealm.com>2012-05-12 01:51:49 -0700
commitc6f1b8742788bb5496a436bfdcda16f2a0262ee9 (patch)
tree8d82dc5c587f5ee5b5f500aa99e36527ffcf844e
parent7890a1c931f8435d91ac4c0a041a6476844fe4c9 (diff)
downloadluagit2-c6f1b8742788bb5496a436bfdcda16f2a0262ee9.tar.gz
remove un-needed config.h file.
-rwxr-xr-xCMakeLists.txt6
-rw-r--r--config.h.cmake14
2 files changed, 0 insertions, 20 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ffa4a7a..06250f7 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,12 +36,6 @@ set(COMMON_LIBS "${COMMON_LIBS};${GIT2_LIBRARIES}")
## LuaNativeObjects
include(LuaNativeObjects)
-## generate config.h
-configure_file(${CMAKE_SOURCE_DIR}/config.h.cmake
- ${CMAKE_SOURCE_DIR}/build/config.h)
-
-set(COMMON_CFLAGS "${COMMON_CFLAGS} -include ${CMAKE_SOURCE_DIR}/build/config.h")
-
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${LUA_INCLUDE_DIR})
diff --git a/config.h.cmake b/config.h.cmake
deleted file mode 100644
index 0cdc654..0000000
--- a/config.h.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * CMake autogenerated config.h file.
- * Make changes to config.h.cmake instead of this file.
- */
-
-/***************************************************************************
- * Copyright (C) 2010 by Robert G. Jakabosky <bobby@sharedrealm.com> *
- * *
- ***************************************************************************/
-
-#ifndef __LUA_GIT2_CONFIG_H__
-#define __LUA_GIT2_CONFIG_H__
-
-#endif /* __LUA_GIT2_CONFIG_H__ */