mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Cleanup
This commit is contained in:
parent
cc9168bda1
commit
11376a2dd0
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
link_libraries(glfw)
|
link_libraries(glfw)
|
||||||
|
|
||||||
include_directories(${glfw_INCLUDE_DIRS})
|
include_directories(${glfw_INCLUDE_DIRS} "${GLFW_SOURCE_DIR}/deps")
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
link_libraries("${MATH_LIBRARY}")
|
link_libraries("${MATH_LIBRARY}")
|
||||||
|
@ -15,8 +15,6 @@ if (GLFW_USE_OSMESA)
|
||||||
add_definitions(-DUSE_NATIVE_OSMESA)
|
add_definitions(-DUSE_NATIVE_OSMESA)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories("${GLFW_SOURCE_DIR}/deps")
|
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(ICON glfw.rc)
|
set(ICON glfw.rc)
|
||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
link_libraries(glfw)
|
link_libraries(glfw)
|
||||||
|
|
||||||
include_directories(${glfw_INCLUDE_DIRS})
|
include_directories(${glfw_INCLUDE_DIRS} "${GLFW_SOURCE_DIR}/deps")
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
link_libraries("${MATH_LIBRARY}")
|
link_libraries("${MATH_LIBRARY}")
|
||||||
|
@ -11,8 +11,6 @@ if (MSVC)
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories("${GLFW_SOURCE_DIR}/deps")
|
|
||||||
|
|
||||||
set(GLAD "${GLFW_SOURCE_DIR}/deps/glad/glad.h"
|
set(GLAD "${GLFW_SOURCE_DIR}/deps/glad/glad.h"
|
||||||
"${GLFW_SOURCE_DIR}/deps/glad.c")
|
"${GLFW_SOURCE_DIR}/deps/glad.c")
|
||||||
set(GETOPT "${GLFW_SOURCE_DIR}/deps/getopt.h"
|
set(GETOPT "${GLFW_SOURCE_DIR}/deps/getopt.h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user