Skip to content

Fixed build of static lib for MSVC 2010 x64 #20

Closed
wants to merge 2 commits into from

2 participants

@pzychotic

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: http://public.kitware.com/Bug/view.php?id=11240

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.