*/}}
1
0
Pārlūkot izejas kodu

lagui-config problem fix

YimingWu 1 gadu atpakaļ
vecāks
revīzija
6050141976
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 6 6
      lagui-config.cmake

+ 6 - 6
lagui-config.cmake

@@ -64,8 +64,8 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
         CACHE INTERNAL "Include dirs of LaGUI and dependencies"
     )
     if(${LuaJIT_FOUND})
-        list(APPEND ${LAGUI_SHARED_LIBS} ${LUA_LIBRARY})
-        list(APPEND ${LAGUI_INCLUDE_DIRS_ALL} ${LUA_INCLUDE_DIR})
+        list(APPEND LAGUI_SHARED_LIBS ${LUA_LIBRARY})
+        list(APPEND LAGUI_INCLUDE_DIRS_ALL ${LUA_INCLUDE_DIR})
     endif()
     if(${PNG_FOUND})
         list(APPEND ${LAGUI_SHARED_LIBS} ${PNG_LIBRARY})
@@ -89,12 +89,12 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
         CACHE INTERNAL "Include dirs of LaGUI and dependencies"
     )
     if(${LuaJIT_FOUND})
-        list(APPEND ${LAGUI_SHARED_LIBS} ${LUA_LIBRARY})
-        list(APPEND ${LAGUI_INCLUDE_DIRS_ALL} ${LUA_INCLUDE_DIR})
+        list(APPEND LAGUI_SHARED_LIBS ${LUA_LIBRARY})
+        list(APPEND LAGUI_INCLUDE_DIRS_ALL ${LUA_INCLUDE_DIR})
     endif()
     if(${PNG_FOUND})
-        list(APPEND ${LAGUI_SHARED_LIBS} ${PNG_LIBRARY})
-        list(APPEND ${LAGUI_INCLUDE_DIRS_ALL} ${PNG_INCLUDE_DIR})
+        list(APPEND LAGUI_SHARED_LIBS ${PNG_LIBRARY})
+        list(APPEND LAGUI_INCLUDE_DIRS_ALL ${PNG_INCLUDE_DIR})
     endif()
 endif()