Skip to content

Commit 200bd2f

Browse files
committed
fix msvc build to not add _static suffix
1 parent 10ef3e5 commit 200bd2f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmake_modules/BuildUtils.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ function(ADD_ICEBERG_LIB LIB_NAME)
162162
target_include_directories(${LIB_NAME}_static PRIVATE ${ARG_PRIVATE_INCLUDES})
163163
endif()
164164

165-
if(MSVC_TOOLCHAIN)
166-
set(LIB_NAME_STATIC ${LIB_NAME}_static)
167-
else()
168-
set(LIB_NAME_STATIC ${LIB_NAME})
169-
endif()
165+
# if(MSVC_TOOLCHAIN)
166+
# set(LIB_NAME_STATIC ${LIB_NAME}_static)
167+
# else()
168+
set(LIB_NAME_STATIC ${LIB_NAME})
169+
# endif()
170170

171171
set_target_properties(${LIB_NAME}_static PROPERTIES OUTPUT_NAME ${LIB_NAME_STATIC})
172172

0 commit comments

Comments
 (0)