mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
9c27c7eda8
add_definitions and include_directories don't operate on a by-target basis, they act on a by-directory basis (i.e. if we defined two targets, A and B, in this CMakeLists file, add_definitions would add the definitions to the COMPILE_DEFINITIONS directory property which both A and B would implicitly use). The same idea applies to include_directories, only it appends to the INCLUDE_DIRECTORIES directory property. Instead, specify these on the target to keep scope as narrow as possible.