]> granicus.if.org Git - check/commitdiff
Correct wrong Win dynamic library name
authorMikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
Sat, 19 Oct 2019 22:59:21 +0000 (00:59 +0200)
committerMikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
Sat, 19 Oct 2019 22:59:21 +0000 (00:59 +0200)
Change from checkStatic to checkDynamic.
Was erroneously "checkStatic".

Signed-off-by: Mikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
src/CMakeLists.txt

index 7f99cab684d8e60ba16f75545e3c27227fc3bfd8..a2268239fae15279e2d5fc764d5120d2dcf06d7f 100644 (file)
@@ -153,7 +153,9 @@ if (MSVC)
   # "On Windows you should probably give each library a different name,
   # since there is a ".lib" file for both shared and static".
   # https://stackoverflow.com/a/2152157/4716395
-  set(LIBRARY_OUTPUT_NAME "checkStatic")
+  # "Dynamic-Link Library" (DLL) is Microsoft terminology.
+  # So we call it this:
+  set(LIBRARY_OUTPUT_NAME "checkDynamic")
 endif (MSVC)
 set_target_properties(checkShared PROPERTIES
   OUTPUT_NAME ${LIBRARY_OUTPUT_NAME}