diff options
| author | 2016-12-06 22:31:03 +0000 | |
|---|---|---|
| committer | 2016-12-07 18:30:49 +0000 | |
| commit | 774d3112af890228acff81aae3b10c5b32046868 (patch) | |
| tree | 5dc87fc6abdc93d0a4c9a68eb302d6adddb69809 /src | |
| parent | Merge pull request #2232 from wwylele/other-save (diff) | |
| download | yuzu-774d3112af890228acff81aae3b10c5b32046868.tar.gz yuzu-774d3112af890228acff81aae3b10c5b32046868.tar.xz yuzu-774d3112af890228acff81aae3b10c5b32046868.zip | |
tests: add missing libcore dependency after 75ee2f8c6702
$ (cmake -DENABLE_SDL2:BOOL=false /path/to/citra; gmake)
[...]
[ 85%] Linking CXX executable tests
../common/libcommon.a(microprofile.cpp.o): In function `MicroProfileThreadStart(pthread**, void* (*)(void*))':
src/common/microprofile.cpp:(.text+0x41): undefined reference to `pthread_create'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 89237e477..b47156ca4 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt | |||
| @@ -13,6 +13,6 @@ include_directories(../../externals/catch/single_include/) | |||
| 13 | 13 | ||
| 14 | add_executable(tests ${SRCS} ${HEADERS}) | 14 | add_executable(tests ${SRCS} ${HEADERS}) |
| 15 | target_link_libraries(tests core video_core audio_core common) | 15 | target_link_libraries(tests core video_core audio_core common) |
| 16 | target_link_libraries(tests ${PLATFORM_LIBRARIES}) | 16 | target_link_libraries(tests ${PLATFORM_LIBRARIES} Threads::Threads) |
| 17 | 17 | ||
| 18 | add_test(NAME tests COMMAND $<TARGET_FILE:tests>) | 18 | add_test(NAME tests COMMAND $<TARGET_FILE:tests>) |