Make it actually build
authorPerttu Ahola <celeron55@gmail.com>
Thu, 10 Nov 2011 20:34:46 +0000 (22:34 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 29 Nov 2011 17:11:04 +0000 (19:11 +0200)
src/lua/CMakeLists.txt
src/lua/src/CMakeLists.txt

index c43dc173793ae73b6395c61f5c019bed55332ff9..56c70d2808f2bb3bdeea4446b1cb172297539767 100644 (file)
@@ -7,8 +7,6 @@ project(lua C)
 
 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
 
-include(CustomMacros)
-
 set(COMMON_CFLAGS)
 set(COMMON_LDFLAGS)
 set(LIBS)
index f9bfda85e329b319750fedb7d9f912c819a14c15..53876cf87114f594fe8e419db00e577f0453e492 100644 (file)
@@ -45,8 +45,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
 # Lua library.
 #
 add_library(lua STATIC ${LUA_CORE_SRC})
-add_target_properties(lua COMPILE_FLAGS "${COMMON_CFLAGS}")
-add_target_properties(lua LINK_FLAGS "${LD_FLAGS} ${COMMON_LDFLAGS}")
 target_link_libraries(lua ${LIBS})
 set(LUA_STATIC_LIB lua)
 set(LUA_LIBS lua)