fixed non encountered for errors by configurator

This commit is contained in:
2026-01-19 12:21:27 +01:00
parent 5ab497b832
commit 0df325b99e
3 changed files with 15 additions and 7 deletions

View File

@@ -30,7 +30,6 @@ add_subdirectory(TSE/TSE_Core)
add_subdirectory(TSE/TSE_Editor)
add_subdirectory(TSE/TSE_GlfwImpl)
add_subdirectory(TSE/TSE_GlfwOpenGlImpl)
find_package(Lua 5.4 REQUIRED)
#source files
file(GLOB CPP_SOURCE
@@ -64,8 +63,6 @@ include_directories(${PROJECT_SOURCE_DIR}/TSE/TSE_GlfwOpenGlImpl/include)
#project def
add_executable(PlanetExplorerGameDemo ${CPP_SOURCE})
target_include_directories(PlanetExplorerGameDemo PRIVATE ${LUA_INCLUDE_DIR})
if (WIN32)
if(DEBUG)
set(DEBUGSPEC
@@ -82,7 +79,6 @@ if (WIN32)
"${PROJECT_SOURCE_DIR}/TSE/TSE_GlfwImpl/include/glfw3.lib"
# "${PROJECT_SOURCE_DIR}/../TSE.Core/lib/freetype.lib"
"${DEBUGSPEC}"
"${LUA_LIBRARIES}"
)
else()
set(LIB_SOURCE
@@ -90,7 +86,6 @@ else()
"${PROJECT_SOURCE_DIR}/TSE/TSE_Core/include/libfreeimage.a"
"${PROJECT_SOURCE_DIR}/TSE/TSE_GlfwImpl/include/libglfw3.a"
"${PROJECT_SOURCE_DIR}/TSE/TSE_Core/include/libbox2d.a"
"${LUA_LIBRARIES}"
)
endif()