summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-29 17:25:30 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:31 +0100
commita0d5862d99186f317a0f7364e8b6cd3cfeccfdf1 (patch)
tree7bf54f8141c513650130e8d3cc6bd8ce3f71b1fe /CMakeLists.txt
parent2017-08-27 (diff)
downloadAltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.gz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.bz2
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.lz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.xz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.zst
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 417efab..bcef8ee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,11 +62,10 @@ find_package(SDL2_net REQUIRED)
target_link_libraries(AltCraft ${SDL2_NET_LIBRARIES})
target_include_directories(AltCraft PUBLIC ${SDL2_NET_INCLUDE_DIRS})
-#Setup SFML
-set (SFML_ROOT "c:/dev/vcpkg/installed/x86-windows/")
-find_package(SFML 2.3 COMPONENTS system window graphics network REQUIRED)
-target_link_libraries(AltCraft ${SFML_LIBRARIES})
-target_include_directories(AltCraft PUBLIC ${SFML_INCLUDE_DIR})
+#Setup SDL2_image
+find_package(SDL2_image REQUIRED)
+target_link_libraries(AltCraft ${SDL2_IMAGE_LIBRARIES})
+target_include_directories(AltCraft PUBLIC ${SDL2_IMAGE_INCLUDE_DIRS})
#Setup OpenGL
find_package(OpenGL REQUIRED)
@@ -74,7 +73,6 @@ target_link_libraries(AltCraft ${OPENGL_LIBRARIES})
target_include_directories(AltCraft PUBLIC ${OPENGL_INCLUDE_DIRS})
-
#################
# COPY RESOURCES
#################