From: adam Date: Tue, 15 Feb 2011 11:52:55 +0000 (+0000) Subject: Fix compilation for JOBMANAGER X-Git-Tag: Start_BR_19998_21191~73 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3c82058809d3fcbfc035fc06e78c156c18f93a7e;p=modules%2Fkernel.git Fix compilation for JOBMANAGER --- 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}) ''')