From 3c82058809d3fcbfc035fc06e78c156c18f93a7e Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 15 Feb 2011 11:52:55 +0000 Subject: [PATCH] Fix compilation for JOBMANAGER --- salome_adm/cmake_files/am2cmake.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 9d991e3ee..bd89fb9d0 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -1598,7 +1598,13 @@ class CMakeFile(object): SET(lib) ENDIF(lib STREQUAL v) ENDFOREACH(v ${vars}) + SET(test OFF) + IF(lib) + STRING(REGEX MATCH "^-lQt" test ${lib}) + ENDIF(lib) + IF(NOT test) SET(libadd ${libadd} ${lib}) + ENDIF(NOT test) ENDFOREACH(lib ${libs}) TARGET_LINK_LIBRARIES(${name} ${libadd}) ''') -- 2.39.2