Be a bit more consistent with Windows, rather than other platforms and drop the library prefix. Suggested by Jose.
Signed-off-by: Emil Velikov <[email protected]> --- Seems like I've completely misunderstood Jose the first time I've read his reply. Here is an updated version which works with mingw-w64 and msvc :) -Emil src/waffle/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/waffle/CMakeLists.txt b/src/waffle/CMakeLists.txt index 9507398..af71f0d 100644 --- a/src/waffle/CMakeLists.txt +++ b/src/waffle/CMakeLists.txt @@ -188,6 +188,13 @@ set_target_properties(${waffle_libname} VERSION ${waffle_soversion}.${waffle_minor_version}.${waffle_patch_version} ) +if(waffle_on_windows) + set_target_properties(${waffle_libname} + PROPERTIES + PREFIX "" + ) +endif() + if(NOT waffle_on_mac) set_target_properties(${waffle_libname} PROPERTIES -- 2.0.2 _______________________________________________ waffle mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/waffle

