Commit 1c587198 authored by Brad King's avatar Brad King 💬
Browse files

Merge branch 'rc-windres-with-dot' into release

parents a2da465b 7147ed5c
......@@ -13,15 +13,16 @@
# License text for the above reference.)
# This file sets the basic flags for the Fortran language in CMake.
# This file sets the basic flags for the Windows Resource Compiler.
# It also loads the available platform file for the system-compiler
# if it exists.
# make sure we don't use CMAKE_BASE_NAME from somewhere else
get_filename_component(CMAKE_BASE_NAME ${CMAKE_RC_COMPILER} NAME_WE)
if("${CMAKE_BASE_NAME}" MATCHES "windres")
if(CMAKE_RC_COMPILER MATCHES "windres[^/]*$")
set(CMAKE_BASE_NAME "windres")
get_filename_component(CMAKE_BASE_NAME ${CMAKE_RC_COMPILER} NAME_WE)
......@@ -30,7 +31,7 @@ include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL)
"Flags for Fortran compiler.")
"Flags for Windows Resource Compiler.")
# These are the only types of flags that should be passed to the rc
# command, if COMPILE_FLAGS is used on a target this will be used
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment