diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt index c43dc173..56c70d28 100644 --- a/src/lua/CMakeLists.txt +++ b/src/lua/CMakeLists.txt @@ -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) diff --git a/src/lua/src/CMakeLists.txt b/src/lua/src/CMakeLists.txt index f9bfda85..53876cf8 100644 --- a/src/lua/src/CMakeLists.txt +++ b/src/lua/src/CMakeLists.txt @@ -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)