Added missing link flags for threaded example.

This commit is contained in:
Camilla Berglund 2014-03-06 20:42:47 +01:00
parent 6d8e78cc95
commit eb460c30ce
2 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,7 @@ The following dependencies are needed by the examples and test programs:
- Added `glfwSetDropCallback` and `GLFWdropfun` for receiving dropped files - Added `glfwSetDropCallback` and `GLFWdropfun` for receiving dropped files
- Bugfix: The debug context attribute was set from `GL_ARB_debug_output` even - Bugfix: The debug context attribute was set from `GL_ARB_debug_output` even
when a debug context had not been requested when a debug context had not been requested
- Bugfix: The particles example was not linked against the threading library
- [Cocoa] Added `_GLFW_USE_RETINA` to control whether windows will use the full - [Cocoa] Added `_GLFW_USE_RETINA` to control whether windows will use the full
resolution on Retina displays resolution on Retina displays
- [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen - [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen

View File

@ -49,6 +49,8 @@ else()
add_executable(wave WIN32 wave.c) add_executable(wave WIN32 wave.c)
endif() endif()
target_link_libraries(particles ${CMAKE_THREAD_LIBS_INIT} ${RT_LIBRARY})
if (MSVC) if (MSVC)
set(WINDOWS_BINARIES boing gears heightmap particles simple splitview wave) set(WINDOWS_BINARIES boing gears heightmap particles simple splitview wave)