summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-23 04:50:10 +0200
committerGitHub <noreply@github.com>2018-10-23 04:50:10 +0200
commit40c63073a961fae3b299f7eebddff662e9ba497c (patch)
tree3746af6cc2dbea1bec61cba21aea218c48461c95
parentMerge pull request #1537 from lioncash/shader (diff)
parentCMakeLists: Use target_compile_definitions instead of add_definitions to define YUZU_ENABLE_COMPATIBILITY_REPORTING (diff)
downloadyuzu-40c63073a961fae3b299f7eebddff662e9ba497c.tar
yuzu-40c63073a961fae3b299f7eebddff662e9ba497c.tar.gz
yuzu-40c63073a961fae3b299f7eebddff662e9ba497c.tar.bz2
yuzu-40c63073a961fae3b299f7eebddff662e9ba497c.tar.lz
yuzu-40c63073a961fae3b299f7eebddff662e9ba497c.tar.xz
yuzu-40c63073a961fae3b299f7eebddff662e9ba497c.tar.zst
yuzu-40c63073a961fae3b299f7eebddff662e9ba497c.zip
-rw-r--r--src/yuzu/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 04464ad5e..b901c29d2 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -121,7 +121,7 @@ target_link_libraries(yuzu PRIVATE Boost::boost glad Qt5::OpenGL Qt5::Widgets)
target_link_libraries(yuzu PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
if (YUZU_ENABLE_COMPATIBILITY_REPORTING)
- add_definitions(-DYUZU_ENABLE_COMPATIBILITY_REPORTING)
+ target_compile_definitions(yuzu PRIVATE -DYUZU_ENABLE_COMPATIBILITY_REPORTING)
endif()
if (USE_DISCORD_PRESENCE)