Commit ad2cb61b authored by Marek Trtik's avatar Marek Trtik
Browse files

Removed dependency on lodepng and added stb

parent 001f7d2a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -39,8 +39,8 @@ find_package(OpenGL REQUIRED)
find_package(glad CONFIG REQUIRED)
find_package(Boost REQUIRED)
find_package(GTest CONFIG REQUIRED)
find_package(Stb REQUIRED)
find_package(Threads)
find_package(lodepng CONFIG REQUIRED)

if(AGE_MATH_LIBRARY MATCHES "glm")
    find_package(glm CONFIG REQUIRED)
@@ -59,7 +59,6 @@ set(AGE_3RD_PARTY_LIBRARIES_TO_LINK_WITH
    $<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>
    ${OPENGL_LIBRARIES}
    glad::glad
    lodepng
    ${AGE_MATH_LIBRARY_TO_LINK_WITH}
    ${Boost_LIBRARIES}
    )
@@ -78,7 +77,7 @@ message("Sources directory = ${PROJECT_SOURCE_DIR}/src")
message("Install directory = ${CMAKE_INSTALL_PREFIX}")
message("Using math library = ${AGE_MATH_LIBRARY}")

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/code")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/src")

add_subdirectory(./src)

+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ start with the **age** project:
    sudo apt install pkg-config autoconf-archive
    ```
  - Once you have the package manager installed, install into it required packages:\
    `vcpkg install sdl2 glad glm boost eigen3 lodepng gtest --clean-after-build`\
    `vcpkg install sdl2 glad glm boost eigen3 stb gtest --clean-after-build`\
    On Windows append the option `--triplet=x64-windows` to the command and `--triplet=x64-linux` on Ubuntu.
- **Microsoft Visual Studio Code** (VS code) source-code editor: https://code.visualstudio.com/
    - Once you have the editor installed, install into it these extensions: