Fixed link flags for threaded example.

This commit is contained in:
Camilla Berglund 2014-03-07 00:18:54 +01:00
parent 6e990b77d1
commit f2813633b0

View File

@ -49,7 +49,11 @@ 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 (APPLE)
target_link_libraries(Particles ${CMAKE_THREAD_LIBS_INIT})
elseif (UNIX)
target_link_libraries(particles ${CMAKE_THREAD_LIBS_INIT} ${RT_LIBRARY})
endif()
if (MSVC) if (MSVC)
set(WINDOWS_BINARIES boing gears heightmap particles simple splitview wave) set(WINDOWS_BINARIES boing gears heightmap particles simple splitview wave)