Skip to content

Commit 632529a

Browse files
authored
Reverted CMakeLists.txt
1 parent d74a54e commit 632529a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,14 @@ if(BUILD_STATIC)
210210

211211
target_include_directories(dmdutil_static PUBLIC ${DMDUTIL_INCLUDE_DIRS})
212212

213-
if(PLATFORM STREQUAL "win" AND ARCH STREQUAL "x64")
214-
set(DMDUTIL_OUTPUT_NAME "dmdutil64")
213+
if(PLATFORM STREQUAL "win")
214+
set_target_properties(dmdutil_static PROPERTIES
215+
OUTPUT_NAME "dmdutil_static"
216+
)
215217
else()
216-
set(DMDUTIL_OUTPUT_NAME "dmdutil")
218+
set_target_properties(dmdutil_static PROPERTIES
219+
OUTPUT_NAME "dmdutil"
220+
)
217221
endif()
218222

219223
install(TARGETS dmdutil_static

0 commit comments

Comments
 (0)