Skip to content

Fixed build of static lib for MSVC 2010 x64 #20

wants to merge 2 commits into from

2 participants


Using a CMake generated project for MSVC 2010 x64 results in an error trying to build the static lib. This seems to a bug in MSVC when the static lib contains an .rc file.

More details here:

Since the .rc file is only used to set file infos that are only relevant to the DLL, I changed the CMakeLists.txt, so that the .rc file is only added to the shared lib and not the static lib. This would also be consistent with the Makefiles from the win32 directory.

@madler madler closed this Jul 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.