|  | @@ -64,8 +64,8 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
 | 
											
												
													
														|  |          CACHE INTERNAL "Include dirs of LaGUI and dependencies"
 |  |          CACHE INTERNAL "Include dirs of LaGUI and dependencies"
 | 
											
												
													
														|  |      )
 |  |      )
 | 
											
												
													
														|  |      if(${LuaJIT_FOUND})
 |  |      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()
 |  |      endif()
 | 
											
												
													
														|  |      if(${PNG_FOUND})
 |  |      if(${PNG_FOUND})
 | 
											
												
													
														|  |          list(APPEND ${LAGUI_SHARED_LIBS} ${PNG_LIBRARY})
 |  |          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"
 |  |          CACHE INTERNAL "Include dirs of LaGUI and dependencies"
 | 
											
												
													
														|  |      )
 |  |      )
 | 
											
												
													
														|  |      if(${LuaJIT_FOUND})
 |  |      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()
 |  |      endif()
 | 
											
												
													
														|  |      if(${PNG_FOUND})
 |  |      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()
 | 
											
												
													
														|  |  endif()
 |  |  endif()
 | 
											
												
													
														|  |  
 |  |  
 |