*/}}
Procházet zdrojové kódy

lagui-config problem fix

YimingWu před 1 rokem
rodič
revize
6050141976
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  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()