Browse Source

Corrected possible issue with CMake for GLFW

Ray 7 years ago
parent
commit
61a1c59472
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/CMakeLists.txt

+ 1 - 1
src/CMakeLists.txt

@@ -31,7 +31,7 @@ if(NOT glfw3_FOUND AND "${PLATFORM}" MATCHES "Desktop")
   add_subdirectory(external/glfw)
   add_subdirectory(external/glfw)
   include_directories(external/glfw/include)
   include_directories(external/glfw/include)
 
 
-  list(APPEND raylib_sources $<TARGET_OBJECTS:glfw_objlib>)
+  list(APPEND raylib_sources $<TARGET_OBJECTS:glfw>)
 endif()
 endif()
 
 
 include(utils)
 include(utils)