Changing it to a static library to have shared glfwInit

This commit is contained in:
Pcornat 2026-01-06 23:31:57 +01:00
commit 35f2bfe9e1
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD

View file

@ -54,7 +54,7 @@ elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
set(LINKER_OPTIMIZED_OPTIONS ${LINKER_OPTIMIZED_OPTIONS} -fdevirtualize-at-ltrans)
endif ()
add_library(${PROJECT_NAME} SHARED
add_library(${PROJECT_NAME} STATIC
src/window.cpp
src/context_window.cpp
src/opengl_context.cpp