diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 10 |
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 ################# |