Changing it to a static library to have shared glfwInit
This commit is contained in:
parent
48fc8faa1a
commit
35f2bfe9e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue