|
|
@ -74,8 +74,8 @@ foreach(L ${LIBS_PRIVATE}) |
|
|
|
|
|
|
|
set(LASTDIR ${DIR}) |
|
|
|
|
|
|
|
set(PKG_CONFIG_LIBS_PRIVATE ${PKG_CONFIG_LIBS_PRIVATE} ${DIR_OPT} ${FILE_OPT}) |
|
|
|
string (REPLACE ";" " " PKG_CONFIG_LIBS_PRIVATE "${PKG_CONFIG_LIBS_PRIVATE}") |
|
|
|
set(__PKG_CONFIG_LIBS_PRIVATE ${__PKG_CONFIG_LIBS_PRIVATE} ${DIR_OPT} ${FILE_OPT}) |
|
|
|
string (REPLACE ";" " " __PKG_CONFIG_LIBS_PRIVATE "${__PKG_CONFIG_LIBS_PRIVATE}") |
|
|
|
endforeach(L) |
|
|
|
|
|
|
|
|
|
|
@ -86,7 +86,7 @@ function(link_libraries_to_executable executable) |
|
|
|
if (TARGET raylib_shared) |
|
|
|
target_link_libraries(${executable} raylib_shared) |
|
|
|
else() |
|
|
|
target_link_libraries(${executable} raylib ${PKG_CONFIG_LIBS_PRIVATE}) |
|
|
|
target_link_libraries(${executable} raylib ${__PKG_CONFIG_LIBS_PRIVATE}) |
|
|
|
endif() |
|
|
|
endfunction() |
|
|
|
|