Skip to content

Commit

Permalink
Correct wrong Win dynamic library name
Browse files Browse the repository at this point in the history
Change from checkStatic to checkDynamic.
Was erroneously "checkStatic".

Signed-off-by: Mikko Johannes Koivunalho <[email protected]>
  • Loading branch information
mikkoi committed Oct 19, 2019
1 parent c6087d2 commit 86fe1ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 86fe1ba

Please sign in to comment.