mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
CMake path quoting fixes.
This commit is contained in:
parent
4ce884fa52
commit
452e95d02a
@ -11,8 +11,7 @@ endif()
|
|||||||
include_directories("${GLFW_SOURCE_DIR}/include"
|
include_directories("${GLFW_SOURCE_DIR}/include"
|
||||||
"${GLFW_SOURCE_DIR}/deps")
|
"${GLFW_SOURCE_DIR}/deps")
|
||||||
|
|
||||||
if (NOT APPLE)
|
if ("${OPENGL_INCLUDE_DIR}")
|
||||||
# HACK: This is NOTFOUND on OS X 10.8
|
|
||||||
include_directories("${OPENGL_INCLUDE_DIR}")
|
include_directories("${OPENGL_INCLUDE_DIR}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ link_libraries(glfw "${OPENGL_glu_LIBRARY}")
|
|||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
add_definitions(-DGLFW_DLL)
|
add_definitions(-DGLFW_DLL)
|
||||||
link_libraries(${OPENGL_gl_LIBRARY} ${MATH_LIBRARY})
|
link_libraries("${OPENGL_gl_LIBRARY}" "${MATH_LIBRARY}")
|
||||||
else()
|
else()
|
||||||
link_libraries(${glfw_LIBRARIES})
|
link_libraries(${glfw_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
@ -11,9 +11,8 @@ endif()
|
|||||||
include_directories("${GLFW_SOURCE_DIR}/include"
|
include_directories("${GLFW_SOURCE_DIR}/include"
|
||||||
"${GLFW_SOURCE_DIR}/deps")
|
"${GLFW_SOURCE_DIR}/deps")
|
||||||
|
|
||||||
if (NOT APPLE)
|
if ("${OPENGL_INCLUDE_DIR}")
|
||||||
# HACK: This is NOTFOUND on OS X 10.8
|
include_directories("${OPENGL_INCLUDE_DIR}")
|
||||||
include_directories(${OPENGL_INCLUDE_DIR})
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(GETOPT "${GLFW_SOURCE_DIR}/deps/getopt.h"
|
set(GETOPT "${GLFW_SOURCE_DIR}/deps/getopt.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user