mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge pull request #1096 from delcypher/cmake_fix_macos_rpath_warning
[CMake] Fix CMake warning about CMP0042 on macOS
This commit is contained in:
		
						commit
						0008aefe40
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -14,6 +14,11 @@ if (POLICY CMP0054)
 | 
			
		|||
  cmake_policy(SET CMP0054 OLD)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
if (POLICY CMP0042)
 | 
			
		||||
  # Enable `MACOSX_RPATH` by default.
 | 
			
		||||
  cmake_policy(SET CMP0042 NEW)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxx_compiler_flags_overrides.cmake")
 | 
			
		||||
project(Z3 CXX)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue