/usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `nk_sdl_clipboard_copy(nk_handle, char const*, int)': Application.cpp:(.text+0x27ea): undefined reference to `SDL_SetClipboardText' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `nk_sdl_clipboard_paste(nk_handle, nk_text_edit*)': Application.cpp:(.text+0x3f0a5): undefined reference to `SDL_GetClipboardText' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `nk_sdl_render(nk_anti_aliasing, int, int)': Application.cpp:(.text+0x4b7df): undefined reference to `SDL_GetWindowSize' /usr/bin/ld: Application.cpp:(.text+0x4b7f5): undefined reference to `SDL_GL_GetDrawableSize' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `nk_sdl_handle_event(SDL_Event*)': Application.cpp:(.text+0x4c335): undefined reference to `SDL_SetRelativeMouseMode' /usr/bin/ld: Application.cpp:(.text+0x4c347): undefined reference to `SDL_WarpMouseInWindow' /usr/bin/ld: Application.cpp:(.text+0x4c3ae): undefined reference to `SDL_SetRelativeMouseMode' /usr/bin/ld: Application.cpp:(.text+0x4c3d0): undefined reference to `SDL_GetKeyboardState' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `Application::detectWindowDimensionChange()': Application.cpp:(.text+0x4ca05): undefined reference to `SDL_GetWindowSize' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `Application::setWindowIcon(char const*)': Application.cpp:(.text+0x4cb18): undefined reference to `SDL_SetWindowIcon' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `Application::setCursorTexture(char const*)': Application.cpp:(.text+0x4cbe4): undefined reference to `SDL_CreateColorCursor' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `Application::setCursorSymbol(SDL_SystemCursor)': Application.cpp:(.text+0x4cc27): undefined reference to `SDL_CreateSystemCursor' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `Application::Application()': Application.cpp:(.text+0x4ce2f): undefined reference to `SDL_CreateWindow' /usr/bin/ld: Application.cpp:(.text+0x4ce3b): undefined reference to `SDL_GL_CreateContext' /usr/bin/ld: Application.cpp:(.text+0x4d006): undefined reference to `SDL_SetWindowIcon' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `Application::run()': Application.cpp:(.text+0x4d1ed): undefined reference to `SDL_GetWindowSize' /usr/bin/ld: Application.cpp:(.text+0x4d46f): undefined reference to `SDL_free' /usr/bin/ld: Application.cpp:(.text+0x4d59d): undefined reference to `SDL_free' /usr/bin/ld: Application.cpp:(.text+0x4d6be): undefined reference to `SDL_GL_SwapWindow' /usr/bin/ld: Application.cpp:(.text+0x4d6d2): undefined reference to `SDL_GL_DeleteContext' /usr/bin/ld: Application.cpp:(.text+0x4d6db): undefined reference to `SDL_DestroyWindow' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o: in function `Keymapper::Keymapper()': Application.cpp:(.text._ZN9KeymapperC2Ev[_ZN9KeymapperC5Ev]+0x39): undefined reference to `SDL_GetScancodeFromKey' /usr/bin/ld: Application.cpp:(.text._ZN9KeymapperC2Ev[_ZN9KeymapperC5Ev]+0x4b): undefined reference to `SDL_GetScancodeFromKey' /usr/bin/ld: Application.cpp:(.text._ZN9KeymapperC2Ev[_ZN9KeymapperC5Ev]+0x5e): undefined reference to `SDL_GetScancodeFromKey' /usr/bin/ld: Application.cpp:(.text._ZN9KeymapperC2Ev[_ZN9KeymapperC5Ev]+0x71): undefined reference to `SDL_GetScancodeFromKey' /usr/bin/ld: Application.cpp:(.text._ZN9KeymapperC2Ev[_ZN9KeymapperC5Ev]+0x84): undefined reference to `SDL_GetScancodeFromKey' /usr/bin/ld: CMakeFiles/binary.dir/src/Application.cpp.o:Application.cpp:(.text._ZN9KeymapperC2Ev[_ZN9KeymapperC5Ev]+0x97): more undefined references to `SDL_GetScancodeFromKey' follow collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/binary.dir/build.make:162: binary] Error 1 make[1]: *** [CMakeFiles/Makefile2:241: CMakeFiles/binary.dir/all] Error 2 make: *** [Makefile:136: all] Error 2