mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Formatting.
This commit is contained in:
parent
7b46a184cb
commit
23776f67e3
|
@ -19,7 +19,7 @@ find_package(OpenGL REQUIRED)
|
||||||
# Enable all warnings on GCC, regardless of OS
|
# Enable all warnings on GCC, regardless of OS
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
if (CMAKE_COMPILER_IS_GNUCC)
|
if (CMAKE_COMPILER_IS_GNUCC)
|
||||||
add_definitions(-Wall)
|
add_definitions(-Wall)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
link_libraries(glfw ${OPENGL_glu_LIBRARY})
|
link_libraries(glfw ${OPENGL_glu_LIBRARY})
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
add_definitions(-DGLFW_DLL)
|
add_definitions(-DGLFW_DLL)
|
||||||
else()
|
else()
|
||||||
link_libraries(${GLFW_LIBRARIES})
|
link_libraries(${GLFW_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(${GLFW_SOURCE_DIR}/include
|
include_directories(${GLFW_SOURCE_DIR}/include
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
link_libraries(glfw ${OPENGL_glu_LIBRARY})
|
link_libraries(glfw ${OPENGL_glu_LIBRARY})
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
add_definitions(-DGLFW_DLL)
|
add_definitions(-DGLFW_DLL)
|
||||||
else()
|
else()
|
||||||
link_libraries(${GLFW_LIBRARIES})
|
link_libraries(${GLFW_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(${GLFW_SOURCE_DIR}/include
|
include_directories(${GLFW_SOURCE_DIR}/include
|
||||||
|
|
Loading…
Reference in New Issue
Block a user