mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-11-04 06:47:09 +00:00 
			
		
		
		
	CMakeLists fixes for dependants
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
cmake_minimum_required (VERSION 3.20)
 | 
					cmake_minimum_required (VERSION 3.20)
 | 
				
			||||||
set(THIRDPARTY_ROOT ${CMAKE_SOURCE_DIR}/thirdparty)
 | 
					set(THIRDPARTY_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty)
 | 
				
			||||||
set(CMAKE_CXX_STANDARD 23)
 | 
					set(CMAKE_CXX_STANDARD 23)
 | 
				
			||||||
set(BUILD_SHARED_LIBS OFF)
 | 
					set(BUILD_SHARED_LIBS OFF)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,5 +6,8 @@ add_compile_options(
 | 
				
			|||||||
    "-Wno-unused-variable")
 | 
					    "-Wno-unused-variable")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
file(GLOB TestFiles *.cpp)
 | 
					file(GLOB TestFiles *.cpp)
 | 
				
			||||||
add_executable(PowerTests ${TestFiles})
 | 
					
 | 
				
			||||||
target_link_libraries(PowerTests PUBLIC PowerUtils)
 | 
					if(TestFiles)
 | 
				
			||||||
 | 
					    add_executable(PowerTests ${TestFiles})
 | 
				
			||||||
 | 
					    target_link_libraries(PowerTests PUBLIC PowerUtils)
 | 
				
			||||||
 | 
					endif()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user