diff options
author | Davide Beatrici <git@davidebeatrici.dev> | 2020-10-18 02:16:02 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2020-10-28 21:27:01 +0300 |
commit | 0968efa7b4011a099c40449f894d0886becbc334 (patch) | |
tree | 4bd935b8591868134c29849edaffc5e113e1b5fc /plugins | |
parent | 253b814ba56dbfe22927428857e3db3a1c92dc5d (diff) |
BUILD(plugins): Add directory to include paths for each plugin
This allows to include the headers without the need to go up one level.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index da9a5ace1..3c0305175 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -36,6 +36,8 @@ foreach(ITEM ${ITEMS}) continue() endif() + target_include_directories(${ITEM} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) + if(WIN32) target_compile_definitions(${ITEM} PRIVATE "OS_WINDOWS") target_link_libraries(${ITEM} user32.lib) |