diff options
author | Ladislav Zezula <zezula@volny.cz> | 2022-03-15 16:05:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 16:05:34 +0100 |
commit | 7abc6e9e9c4d4d1e02ccb3f1a29f41d1e40b2acc (patch) | |
tree | 2ccfed4d8ff62fd4e986f8911fc5547bc56b622c | |
parent | 910b9ef2c1b0e563a20505aad59b9c44aaf8785d (diff) | |
parent | d9f29e494473dda4e04047110beb3c0f3f6a6f22 (diff) |
Merge pull request #247 from toddwong/master
Change output name of Windows cmake to StormLib
-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 |