mirror of
				https://github.com/GayPizzaSpecifications/voxelotl-engine.git
				synced 2025-11-04 10:59:39 +00:00 
			
		
		
		
	fix add_library when included as a module
This commit is contained in:
		@ -3,7 +3,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "13.6" CACHE STRING "Minimum MacOS version" FORC
 | 
				
			|||||||
set(CMAKE_Swift_LANGUAGE_VERSION 5)
 | 
					set(CMAKE_Swift_LANGUAGE_VERSION 5)
 | 
				
			||||||
project(voxelotl LANGUAGES C OBJC Swift VERSION "0.1.0")
 | 
					project(voxelotl LANGUAGES C OBJC Swift VERSION "0.1.0")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
find_library(SDL3 SDL3 REQUIRED PATHS "${CMAKE_SOURCE_DIR}/Frameworks" NO_DEFAULT_PATH)
 | 
					find_library(SDL3 SDL3 REQUIRED PATHS "${CMAKE_CURRENT_SOURCE_DIR}/Frameworks" NO_DEFAULT_PATH)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
add_subdirectory(Sources/SDLSwift)
 | 
					add_subdirectory(Sources/SDLSwift)
 | 
				
			||||||
add_subdirectory(Sources/Voxelotl)
 | 
					add_subdirectory(Sources/Voxelotl)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user