Threads still need to be linked with static library

master
Matt Arsenault ago%!(EXTRA string=13 years)
parent 279c32e3f9
commit 5162796094
  1. 5
      tests/CMakeLists.txt

@ -57,9 +57,8 @@ set_target_properties(title PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Title")
add_executable(windows WIN32 MACOSX_BUNDLE windows.c)
set_target_properties(windows PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Windows")
if (BUILD_SHARED_LIBS)
target_link_libraries(threads ${thread_LIBRARIES})
endif()
target_link_libraries(threads ${thread_LIBRARIES})
set(WINDOWS_BINARIES accuracy sharing tearing threads title windows)
set(CONSOLE_BINARIES clipboard defaults events fsaa fsfocus gamma glfwinfo

Loading…
Cancel
Save