Only define the CMAKE_RC_COMPILER when it isn't defined in the CMakeLists.txt file.
This commit is contained in:
		
							parent
							
								
									404b580ec3
								
							
						
					
					
						commit
						7a23e31dea
					
				| @ -64,8 +64,10 @@ if (MINGW OR MSVC) | ||||
|     if (UNIX) | ||||
|         SET(CMAKE_RC_COMPILE_OBJECT | ||||
|                 "<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>") | ||||
|         if (NOT DEFINED CMAKE_RC_COMPILER) | ||||
|             SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres) | ||||
|         endif() | ||||
|     endif() | ||||
|     ENABLE_LANGUAGE(RC) | ||||
| endif() | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user