mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-11-14 19:13:01 +01:00
14 lines
361 B
CMake
14 lines
361 B
CMake
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
|
|
|
|
project(stb CXX)
|
|
|
|
add_library(stb INTERFACE)
|
|
target_include_directories(stb INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
add_library(stb_image "stb/stb_image.h" "stb_image.cpp")
|
|
target_link_libraries(stb_image stb)
|
|
|
|
add_library(stb_perlin "stb/stb_perlin.h" "stb_perlin.cpp")
|
|
target_link_libraries(stb_perlin stb)
|
|
|