blob: 9af2929d069bb2af83c92ea568587c49a9c53b9c [file] [log] [blame] [edit]
--- openal-soft-1.21.0/CMakeLists.txt.orig 2017-08-15 10:18:37.065522000 +0200
+++ openal-soft-1.21.0/CMakeLists.txt 2017-08-15 10:18:58.438744500 +0200
@@ -1257,7 +1257,10 @@
add_library(${IMPL_TARGET} SHARED ${OPENAL_OBJS} ${ALC_OBJS} ${RC_CONFIG}
${TARGET_PUBLIC_HEADERS})
if(WIN32)
- set_target_properties(${IMPL_TARGET} PROPERTIES PREFIX "")
+ set_target_properties(${IMPL_TARGET} PROPERTIES
+ OUTPUT_NAME openal
+ RUNTIME_OUTPUT_NAME openal-${LIB_MAJOR_VERSION}
+ ARCHIVE_OUTPUT_NAME openal)
endif()
target_link_libraries(${IMPL_TARGET} PRIVATE common ${LINKER_FLAGS} ${EXTRA_LIBS} ${MATH_LIB})