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