X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Fmodules%2FCMakeLists.txt;h=2c2617e2b44e194b1913a93169303cc473ce6737;hb=da7cba69389c3c90cb9e02ac2d18f62d3e83a944;hp=094078aabd88c936acf87163d5373553205655e8;hpb=87b1461e2a4710a38b32186c2582da9fe9bb3804;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/modules/CMakeLists.txt b/win/modules/CMakeLists.txt index 094078aab..2c2617e2b 100644 --- a/win/modules/CMakeLists.txt +++ b/win/modules/CMakeLists.txt @@ -7,13 +7,6 @@ list(SORT INSPIRCD_MODULES) add_definitions("-DDLL_BUILD") -file(GLOB INSPIRCD_VENDORS "${INSPIRCD_BASE}/vendor/**") -foreach(INSPIRCD_VENDOR ${INSPIRCD_VENDORS}) - if(NOT IS_DIRECTORY ${INSPIRCD_VENDOR}) - list(REMOVE_ITEM INSPIRCD_VENDORS ${INSPIRCD_VENDOR}) - endif() -endforeach() - foreach(MODULE_NAME ${INSPIRCD_MODULES}) if(IS_DIRECTORY "${MODULE_NAME}") string(REGEX REPLACE "^.*[/\\](.*)$" "\\1" BASE_NAME ${MODULE_NAME}) @@ -33,7 +26,6 @@ foreach(MODULE_NAME ${INSPIRCD_MODULES}) # Generate the module and set its linker flags, also set it to depend on the main executable to be built beforehand target_link_libraries(${SO_NAME} inspircd) add_dependencies(${SO_NAME} inspircd) - target_include_directories(${SO_NAME} PRIVATE ${INSPIRCD_VENDORS}) if(MSVC) target_link_libraries(${SO_NAME} win32_memory) add_dependencies(${SO_NAME} win32_memory)