Salome HOME
Remove the use of getlogin.
[modules/yacs.git] / src / hmi / CMakeLists.txt
index 0851f15ea9ee0239609dc08feeb80961376a2c9a..6d181f5d351d2694df35ed91e98e12a93179d30e 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2020  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -27,6 +27,7 @@ ENDIF(SALOME_YACS_USE_KERNEL)
 # additional include directories
 INCLUDE_DIRECTORIES(
   ${OMNIORB_INCLUDE_DIR}
+  ${OMNIORBPY_INCLUDE_DIR}
   ${LIBXML2_INCLUDE_DIR}
   ${PYTHON_INCLUDE_DIR}
   ${PROJECT_SOURCE_DIR}/src/bases
@@ -39,14 +40,12 @@ INCLUDE_DIRECTORIES(
 
 # additional preprocessor / compiler flags
 ADD_DEFINITIONS(
-  -DYACS_PTHREAD
   ${PYTHON_DEFINITIONS}
   ${OMNIORB_DEFINITIONS}
   )
 
 # libraries to link to
 SET(_link_LIBRARIES
-  ${EXPAT_LIBRARIES}
   ${LIBXML2_LIBRARIES}
   YACSRuntimeSALOME
   YACSloader