X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=cmake%2FQuasselMacros.cmake;h=3af589afbe35880002be5371ef2f6c5ee720e082;hp=8ad37f7e79c2ae7443b0b3359b04ba84513f1238;hb=c619044c4f32da908730dc180005df4da2b377f4;hpb=a51da552e5a2a81ef8f2204de6459f3a713bddf4 diff --git a/cmake/QuasselMacros.cmake b/cmake/QuasselMacros.cmake index 8ad37f7e..3af589af 100644 --- a/cmake/QuasselMacros.cmake +++ b/cmake/QuasselMacros.cmake @@ -45,9 +45,7 @@ function(quassel_add_module _module) string(REPLACE "::" "_" target ${target}) string(REPLACE "_" "-" output_name ${target}) - # On Windows, building shared libraries requires export headers. - # Let's bother with that later. - if (ARG_STATIC OR WIN32) + if (ARG_STATIC) set(buildmode STATIC) else() set(buildmode SHARED)