Skip to content

Commit 266c812

Browse files
committed
Fix output name of embedded library,
honor OUTPUT_NAME in MERGE_LIBRARIES macro
1 parent 493ee9d commit 266c812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/libutils.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ MACRO(MERGE_LIBRARIES)
220220
SET(LIBS ${ARG_DEFAULT_ARGS})
221221
LIST(REMOVE_AT LIBS 0)
222222
IF(ARG_STATIC)
223-
IF (NOT "${ARG_OUTPUT_NAME}")
223+
IF (NOT ARG_OUTPUT_NAME)
224224
SET(ARG_OUTPUT_NAME ${TARGET})
225225
ENDIF()
226226
MERGE_STATIC_LIBS(${TARGET} ${ARG_OUTPUT_NAME} "${LIBS}")

0 commit comments

Comments
 (0)