diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2018-11-21 22:22:59 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2018-11-21 22:24:25 +0000 |
| commit | d6bbf36578528aebec0199bda051a7605f46fd7c (patch) | |
| tree | b0c6dacafb58139b4fe775ad7b1429d9c626e370 /CMakeScripts/ConfigEnv.cmake | |
| parent | CMake: Specifically enable Microsoft bit-field layout for structs (diff) | |
| download | inkscape-d6bbf36578528aebec0199bda051a7605f46fd7c.tar.gz inkscape-d6bbf36578528aebec0199bda051a7605f46fd7c.zip | |
CMake: Do not override CMAKE_<LANG>_LINK_EXECUTABLE variables
Despite the misleading name they are actually supposed to hold the
"rule" to link an executable (i.e. the full linker command line)
and not just the linker executable name.
CMake already defaults to the CMAKE_<LANG>_COMPILER for the latter.
Diffstat (limited to 'CMakeScripts/ConfigEnv.cmake')
| -rw-r--r-- | CMakeScripts/ConfigEnv.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/CMakeScripts/ConfigEnv.cmake b/CMakeScripts/ConfigEnv.cmake index 4a3300d50..131e62450 100644 --- a/CMakeScripts/ConfigEnv.cmake +++ b/CMakeScripts/ConfigEnv.cmake @@ -12,9 +12,7 @@ if(WIN32) endif()
set(CMAKE_C_COMPILER "${MINGW_BIN}/gcc.exe")
- set(CMAKE_C_LINK_EXECUTABLE "${MINGW_BIN}/gcc.exe")
set(CMAKE_CXX_COMPILER "${MINGW_BIN}/g++.exe")
- set(CMAKE_CXX_LINK_EXECUTABLE "${MINGW_BIN}/g++.exe")
set(CMAKE_CXX_STANDARD 11)
# Setup Windows resource files compiler.
|
