plain glfw lib name

This commit is contained in:
halx99 2021-05-18 21:30:42 +08:00
parent 13d187c174
commit 67404f2ae6
1 changed files with 2 additions and 0 deletions

View File

@ -254,6 +254,8 @@ if(WINDOWS OR MACOSX OR LINUX)
set(GLFW_INSTALL OFF CACHE BOOL "Build the GLFW documentation" FORCE)
add_subdirectory(glfw)
configure_target_outdir(glfw)
set_target_properties(glfw PROPERTIES
OUTPUT_NAME glfw)
target_link_libraries(external glfw)
if(NOT WINDOWS)
target_link_libraries(external pthread)