diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-30 00:12:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 00:12:21 +0200 |
commit | a4f88c7d7c94107df6bfada31617ff553bb5e89e (patch) | |
tree | cb0d3adbbe115604051300ae451a22a4de751b27 /src/video_core/CMakeLists.txt | |
parent | Merge pull request #2729 from yuriks/quaternion-fix (diff) | |
parent | CMake: Re-organize root CMakeLists.txt file (diff) | |
download | yuzu-a4f88c7d7c94107df6bfada31617ff553bb5e89e.tar yuzu-a4f88c7d7c94107df6bfada31617ff553bb5e89e.tar.gz yuzu-a4f88c7d7c94107df6bfada31617ff553bb5e89e.tar.bz2 yuzu-a4f88c7d7c94107df6bfada31617ff553bb5e89e.tar.lz yuzu-a4f88c7d7c94107df6bfada31617ff553bb5e89e.tar.xz yuzu-a4f88c7d7c94107df6bfada31617ff553bb5e89e.tar.zst yuzu-a4f88c7d7c94107df6bfada31617ff553bb5e89e.zip |
Diffstat (limited to 'src/video_core/CMakeLists.txt')
-rw-r--r-- | src/video_core/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index e455f03bd..0961a3251 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -80,14 +80,13 @@ create_directory_groups(${SRCS} ${HEADERS}) add_library(video_core STATIC ${SRCS} ${HEADERS}) target_link_libraries(video_core PUBLIC common core) -target_link_libraries(video_core PRIVATE glad) +target_link_libraries(video_core PRIVATE glad nihstro-headers) if (ARCHITECTURE_x86_64) target_link_libraries(video_core PRIVATE xbyak) endif() if (PNG_FOUND) - target_link_libraries(video_core PRIVATE ${PNG_LIBRARIES}) - target_include_directories(video_core PRIVATE ${PNG_INCLUDE_DIRS}) - target_compile_definitions(video_core PRIVATE ${PNG_DEFINITIONS}) + target_link_libraries(video_core PRIVATE PNG::PNG) + target_compile_definitions(video_core PRIVATE HAVE_PNG) endif() |