MushMachine/external/SquirrelNoise/CMakeLists.txt
Green Sky 6b06d5cb99 update all cmake files to version 3.9
other misc cmake fixes

version 3.9 allows for ipo (lto)
2022-05-03 19:33:19 +02:00

20 lines
386 B
CMake

cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(SquirrelNoise)
add_library(squirrel_noise
./src/squirrel_noise/RawNoise.hpp
./src/squirrel_noise/RawNoise.cpp
# TODO: seperate smooth?
./src/squirrel_noise/SmoothNoise.hpp
./src/squirrel_noise/SmoothNoise.cpp
)
target_include_directories(squirrel_noise PUBLIC "src")
target_link_libraries(squirrel_noise
PRIVATE glm
)