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:
@@ -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
|
||||
|
Reference in New Issue
Block a user