summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorTobias Jammer <[email protected]>2020-09-29 17:57:28 +0200
committerGitHub <[email protected]>2020-09-29 17:57:28 +0200
commit0c29ca8166f26ef24311fab5e2fd614f9358ea76 (patch)
tree8a5e8952e43de709aac344b5784f6e00023fa30c /src/CMakeLists.txt
parenta850246030dbd3b33ec71591441c1c5255fe572c (diff)
downloadraylib-0c29ca8166f26ef24311fab5e2fd614f9358ea76.tar.gz
raylib-0c29ca8166f26ef24311fab5e2fd614f9358ea76.zip
Fix 1393 (#1395)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c8da0a21..5d288076 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -192,7 +192,7 @@ if(STATIC)
set(PKG_CONFIG_LIBS_PRIVATE ${__PKG_CONFIG_LIBS_PRIVATE} ${GLFW_PKG_LIBS})
string (REPLACE ";" " " PKG_CONFIG_LIBS_PRIVATE "${PKG_CONFIG_LIBS_PRIVATE}")
if (${PLATFORM} MATCHES "Desktop")
- target_link_libraries(raylib_static glfw ${GLFW_LIBRARIES} ${LIBS_PRIVATE})
+ target_link_libraries(raylib_static PRIVATE glfw ${GLFW_LIBRARIES} ${LIBS_PRIVATE})
endif()
if (WITH_PIC)