Start making use of CMake 3.4 string(APPEND)

This commit is contained in:
Camilla Löwy
2021-08-25 12:17:45 +02:00
parent 4f077c4133
commit 8c8def5de5
3 changed files with 9 additions and 9 deletions

View File

@@ -256,10 +256,10 @@ endif()
# Export GLFW library dependencies
#--------------------------------------------------------------------
foreach(arg ${glfw_PKG_DEPS})
set(deps "${deps} ${arg}")
string(APPEND deps " ${arg}")
endforeach()
foreach(arg ${glfw_PKG_LIBS})
set(libs "${libs} ${arg}")
string(APPEND libs " ${arg}")
endforeach()
set(GLFW_PKG_CONFIG_REQUIRES_PRIVATE "${deps}" CACHE INTERNAL