diff options
author | Todd Wong <toddwong@leftart.com> | 2022-03-15 14:33:35 +0800 |
---|---|---|
committer | Todd Wong <toddwong@leftart.com> | 2022-03-15 14:36:53 +0800 |
commit | d9f29e494473dda4e04047110beb3c0f3f6a6f22 (patch) | |
tree | 2ccfed4d8ff62fd4e986f8911fc5547bc56b622c /CMakeLists.txt | |
parent | 910b9ef2c1b0e563a20505aad59b9c44aaf8785d (diff) |
Change output name of Windows cmake to StormLib
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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 |