libobs-opengl: Use original lib naming for mac/win

On mac and windows, the libraries are always meant to be portable,
therefore the naming convention does not need to change for each
revision.  For linux this makes sense; windows and mac not so much.
This commit is contained in:
jp9000
2015-01-13 21:35:58 -08:00
parent 881b3bd52a
commit 0e81b0a2ac

View File

@@ -70,12 +70,21 @@ set(libobs-opengl_HEADERS
add_library(libobs-opengl MODULE
${libobs-opengl_SOURCES}
${libobs-opengl_HEADERS})
if(WIN32 OR APPLE)
set_target_properties(libobs-opengl
PROPERTIES
OUTPUT_NAME libobs-opengl
PREFIX "")
else()
set_target_properties(libobs-opengl
PROPERTIES
OUTPUT_NAME obs-opengl
VERSION 0.0
SOVERSION 0
)
endif()
target_link_libraries(libobs-opengl
libobs
glad