diff options
| author | 2016-03-27 11:59:50 +0800 | |
|---|---|---|
| committer | 2016-04-23 11:48:58 +0800 | |
| commit | d051bd303225838e0e50a3e3ddc22337c1fc0f0c (patch) | |
| tree | d054f69d2cc8f03c4d73c2e74deb42ee5556be0d /src | |
| parent | Merge pull request #1697 from tfarley/hw-lighting-sync (diff) | |
| download | yuzu-d051bd303225838e0e50a3e3ddc22337c1fc0f0c.tar.gz yuzu-d051bd303225838e0e50a3e3ddc22337c1fc0f0c.tar.xz yuzu-d051bd303225838e0e50a3e3ddc22337c1fc0f0c.zip | |
CMakeLists: Use CMAKE_THREAD_LIBS_INIT
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt index fa615deb9..351752c1c 100644 --- a/src/citra/CMakeLists.txt +++ b/src/citra/CMakeLists.txt | |||
| @@ -21,7 +21,7 @@ target_link_libraries(citra ${SDL2_LIBRARY} ${OPENGL_gl_LIBRARY} inih glad) | |||
| 21 | if (MSVC) | 21 | if (MSVC) |
| 22 | target_link_libraries(citra getopt) | 22 | target_link_libraries(citra getopt) |
| 23 | endif() | 23 | endif() |
| 24 | target_link_libraries(citra ${PLATFORM_LIBRARIES}) | 24 | target_link_libraries(citra ${PLATFORM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) |
| 25 | 25 | ||
| 26 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") | 26 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD") |
| 27 | install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") | 27 | install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") |