1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Formatting.

This commit is contained in:
Camilla Berglund 2012-03-25 13:58:07 +02:00
parent 7b46a184cb
commit 23776f67e3
3 changed files with 5 additions and 5 deletions

View File

@ -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()
#-------------------------------------------------------------------- #--------------------------------------------------------------------

View File

@ -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

View File

@ -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