소스 검색

ENH: need CMAKE_LINKER_FLAGS

Sebastien Barre 23 년 전
부모
커밋
1ce7085e63
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Source/cmNMakeMakefileGenerator.cxx

+ 1 - 1
Source/cmNMakeMakefileGenerator.cxx

@@ -529,7 +529,7 @@ void cmNMakeMakefileGenerator::OutputExecutableRule(std::ostream& fout,
   command += " " + output_executable_file_flag + 
     this->ConvertToOutputPath(path.c_str());
 
-  command += " $(CMAKE_C_LINK_EXECUTABLE_FLAG) ";
+  command += " $(CMAKE_C_LINK_EXECUTABLE_FLAG) $(CMAKE_LINKER_FLAGS) ";
   if(t.GetType() == cmTarget::WIN32_EXECUTABLE)
     {
     command +=  " /subsystem:windows ";