From 1de4a0fb09fded1401ecb1aeaecb1159ae46a3c6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 25 Feb 2015 11:12:06 -0500 Subject: RC: Drop unused CMAKE_COMPILE_RESOURCE variable setting This variable has long been replaced by CMAKE_RC_COMPILE_OBJECT. Stop setting it in platform modules. --- Modules/Platform/Windows-MSVC.cmake | 1 - Modules/Platform/Windows-df.cmake | 2 -- 2 files changed, 3 deletions(-) diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake index 2440f89..b101b63 100644 --- a/Modules/Platform/Windows-MSVC.cmake +++ b/Modules/Platform/Windows-MSVC.cmake @@ -55,7 +55,6 @@ endif() # make sure to enable languages after setting configuration types enable_language(RC) -set(CMAKE_COMPILE_RESOURCE "rc /fo ") if("${CMAKE_GENERATOR}" MATCHES "Visual Studio") set(MSVC_IDE 1) diff --git a/Modules/Platform/Windows-df.cmake b/Modules/Platform/Windows-df.cmake index 59d88a3..0beba73 100644 --- a/Modules/Platform/Windows-df.cmake +++ b/Modules/Platform/Windows-df.cmake @@ -24,8 +24,6 @@ set(CMAKE_Fortran_CREATE_STATIC_LIBRARY "lib ${CMAKE_CL_NOLOGO} /o set(CMAKE_Fortran_COMPILE_OBJECT " ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO} /object: /compile_only ${CMAKE_END_TEMP_FILE}") -set(CMAKE_COMPILE_RESOURCE "rc /fo ") - set(CMAKE_Fortran_LINK_EXECUTABLE " ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /exe: /link ${CMAKE_END_TEMP_FILE}") -- cgit v0.12