diff options
author | Peter Powell <petpow@saberuk.com> | 2019-12-08 19:39:02 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-12-08 19:59:34 +0000 |
commit | a47e2df0ce833e06fa3e4034e64ec084a2bbb2d3 (patch) | |
tree | 51b20e031c52f135d927bc23643cbd831a0fddd4 /win/modules | |
parent | 914d8140d98dd0adc54f739dfe550765cc466bac (diff) |
Replace our Windows getopt_long wrapper with ya_getopt.
Closes #546.
Diffstat (limited to 'win/modules')
-rw-r--r-- | win/modules/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
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)
|