*/}}
소스 검색

lagui-config problem fix

YimingWu 1 년 전
부모
커밋
6050141976
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  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()