From d9f29e494473dda4e04047110beb3c0f3f6a6f22 Mon Sep 17 00:00:00 2001 From: Todd Wong Date: Tue, 15 Mar 2022 14:33:35 +0800 Subject: Change output name of Windows cmake to StormLib --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce6a9b4..72aacd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,6 +324,9 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD) endif() add_library(${LIBRARY_NAME} ${LIB_TYPE} ${SRC_FILES} ${SRC_ADDITIONAL_FILES} ${STORM_DEF_FILES}) +if(WIN32) +set_target_properties(${LIBRARY_NAME} PROPERTIES OUTPUT_NAME "StormLib") +endif() target_link_libraries(${LIBRARY_NAME} ${LINK_LIBS}) target_compile_definitions(${LIBRARY_NAME} INTERFACE STORMLIB_NO_AUTO_LINK) #CMake will take care of the linking -- cgit v1.2.3