summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b5dfc32..254d324 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -410,9 +410,11 @@ if (BUILD_STATIC_LIBS AND BUILD_SHARED_LIBS)
)
# rename the static library
+ if (NOT MSVC)
set_target_properties(${STATIC_LIB} PROPERTIES
OUTPUT_NAME ${PROJECT_NAME}
)
+ endif()
list(APPEND CMAKE_TARGETS ${STATIC_LIB})
endif ()