From 351f2b2664f44431de1f66715b155df31c0e35e8 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 13 Apr 2012 12:57:04 +0200 Subject: [PATCH] Fixed build setup for clipboard test. --- tests/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index daa17a31..9f2afa9f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -11,9 +11,8 @@ endif() include_directories(${GLFW_SOURCE_DIR}/include ${GLFW_SOURCE_DIR}/support ${OPENGL_INCLUDE_DIR}) -add_executable(clipboard clipboard.c) -target_link_libraries(clipboard ${STATIC_DEPS}) +add_executable(clipboard clipboard.c getopt.c) add_executable(defaults defaults.c) add_executable(events events.c) add_executable(fsaa fsaa.c getopt.c) @@ -43,8 +42,8 @@ add_executable(windows WIN32 MACOSX_BUNDLE windows.c) set_target_properties(windows PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Windows") set(WINDOWS_BINARIES accuracy sharing tearing title windows) -set(CONSOLE_BINARIES defaults events fsaa fsfocus gamma glfwinfo iconify - joysticks listmodes modes peter reopen) +set(CONSOLE_BINARIES clipboard defaults events fsaa fsfocus gamma glfwinfo + iconify joysticks listmodes modes peter reopen) if (MSVC) # Tell MSVC to use main instead of WinMain for Windows subsystem executables