Removed GLFW dependency
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,6 +1,3 @@
|
||||
[submodule "3rdparty/glfw"]
|
||||
path = 3rdparty/glfw
|
||||
url = https://github.com/glfw/glfw
|
||||
[submodule "3rdparty/glad"]
|
||||
path = 3rdparty/glad
|
||||
url = https://github.com/Dav1dde/glad
|
||||
|
||||
1
3rdparty/glfw
vendored
1
3rdparty/glfw
vendored
Submodule 3rdparty/glfw deleted from 0be4f3f75a
@@ -183,17 +183,6 @@ include_directories(${GLAD_INCLUDE_DIRS})
|
||||
list (APPEND EXTRA_LIBS "glad")
|
||||
endif()
|
||||
|
||||
# ---- GLFW ----
|
||||
if(NOT ANDROID)
|
||||
set(GLFW_BUILD_EXAMPLES OFF CACHE INTERNAL "Build the GLFW example programs")
|
||||
set(GLFW_BUILD_TESTS OFF CACHE INTERNAL "Build the GLFW test programs")
|
||||
set(GLFW_BUILD_DOCS OFF CACHE INTERNAL "Build the GLFW documentation")
|
||||
set(GLFW_INSTALL OFF CACHE INTERNAL "Generate installation target")
|
||||
add_subdirectory(3rdparty/glfw)
|
||||
include_directories(3rdparty/glfw/include)
|
||||
list (APPEND EXTRA_LIBS "${GLFW_LIBRARIES}")
|
||||
endif()
|
||||
|
||||
add_library(kraken STATIC ${SRCS} ${KRAKEN_PUBLIC_HEADERS})
|
||||
TARGET_LINK_LIBRARIES( kraken ${EXTRA_LIBS} )
|
||||
SET_TARGET_PROPERTIES(
|
||||
|
||||
Reference in New Issue
Block a user