diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-08-16 14:06:40 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-08-25 22:03:18 +0200 |
commit | c4691b784bd7746c5845df00a82ea0909b37ec0f (patch) | |
tree | 635fa4cea0fa7c487217c8799cb90c45ebc12841 /CMakeLists.txt | |
parent | Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly. (diff) | |
download | yuzu-c4691b784bd7746c5845df00a82ea0909b37ec0f.tar yuzu-c4691b784bd7746c5845df00a82ea0909b37ec0f.tar.gz yuzu-c4691b784bd7746c5845df00a82ea0909b37ec0f.tar.bz2 yuzu-c4691b784bd7746c5845df00a82ea0909b37ec0f.tar.lz yuzu-c4691b784bd7746c5845df00a82ea0909b37ec0f.tar.xz yuzu-c4691b784bd7746c5845df00a82ea0909b37ec0f.tar.zst yuzu-c4691b784bd7746c5845df00a82ea0909b37ec0f.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 56f5d02b0..4c7b3dd73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,11 @@ add_definitions(-Wno-attributes) add_definitions(-DSINGLETHREADED) add_definitions(${CXX_COMPILE_FLAGS}) +find_package(PNG) +if (PNG_FOUND) + add_definitions(-DHAVE_PNG) +endif () + # dependency checking list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules/") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests) |