summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-06-17 11:42:55 -0400
committerSteph Enders <smenders@gmail.com>2022-06-17 11:43:15 -0400
commitb3061730cd0dbebbd51d5c25576e705a035a4d46 (patch)
tree029d7c96d306772794cdcacac603b95a1cf0a114
parent87a53f2a09a204ca9bcdde9c73db414c79075326 (diff)
Remove SFML for now
-rw-r--r--CMakeLists.txt6
-rw-r--r--src/main.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb5735d..f29faa3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,12 +10,12 @@ if (LUA_VERSION_STRING VERSION_LESS "5.4")
message(FATAL_ERROR "Invalid Lau version: ${LUA_VERSION_STRING} - must be >= 5.4")
endif()
-set(SFML_LIBRARIES sfml-system sfml-window sfml-graphics)
-find_package(SFML 2.5 REQUIRED COMPONENTS system window graphics)
+#set(SFML_LIBRARIES sfml-system sfml-window sfml-graphics)
+#find_package(SFML 2.5 REQUIRED COMPONENTS system window graphics)
#file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
#file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/maps DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
#file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/include DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
add_executable(${PROJECT_NAME} src/main.cpp src/Level.cpp src/Level.h src/CApi.h src/Scene.h src/LuaApi.h)
-target_link_libraries(${PROJECT_NAME} ${LUA_LIBRARIES} ${SFML_LIBRARIES})
+target_link_libraries(${PROJECT_NAME} ${LUA_LIBRARIES}) # ${SFML_LIBRARIES})
diff --git a/src/main.cpp b/src/main.cpp
index a9b5d3b..23da08c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,7 +1,7 @@
#include "CApi.h"
#include "Level.h"
#include "LuaApi.h"
-#include <SFML/Graphics.hpp>
+//#include <SFML/Graphics.hpp>
#include <filesystem>
#include <iostream>
#include <lua.hpp>