*/}}
1
0
Quellcode durchsuchen

lagui-config problem fix

YimingWu vor 1 Jahr
Ursprung
Commit
6050141976
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  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()