From e6ee1b7f9127158c3240d4f7e711a5ad28150747 Mon Sep 17 00:00:00 2001 From: Jules BOURDAIS Date: Thu, 21 Nov 2024 16:14:36 +0100 Subject: [PATCH] get rid of pthread --- CMakeLists.txt | 7 ++++--- src/ARCHIMEDE/CMakeLists.txt | 2 +- src/AdvancedEngine/CMakeLists.txt | 2 +- src/AdvancedGUI/CMakeLists.txt | 2 +- src/BasicGUI/CMakeLists.txt | 2 +- src/BlockFix/CMakeLists.txt | 2 +- src/BlocksGUI/CMakeLists.txt | 2 +- src/BooleanGUI/CMakeLists.txt | 2 +- src/BuildGUI/CMakeLists.txt | 2 +- src/CurveCreator/CMakeLists.txt | 2 +- src/DisplayGUI/CMakeLists.txt | 2 +- src/EntityGUI/CMakeLists.txt | 2 +- src/GEOM/CMakeLists.txt | 2 +- src/GEOMBase/CMakeLists.txt | 2 +- src/GEOMClient/CMakeLists.txt | 2 +- src/GEOMFiltersSelection/CMakeLists.txt | 2 +- src/GEOMGUI/CMakeLists.txt | 2 +- src/GEOMImpl/CMakeLists.txt | 2 +- src/GEOMToolsGUI/CMakeLists.txt | 2 +- src/GEOMUtils/CMakeLists.txt | 2 +- src/GEOM_I/CMakeLists.txt | 2 +- src/GEOM_I_Superv/CMakeLists.txt | 2 +- src/GEOM_SWIG_WITHIHM/CMakeLists.txt | 2 +- src/GenerationGUI/CMakeLists.txt | 2 +- src/GroupGUI/CMakeLists.txt | 2 +- src/MeasureGUI/CMakeLists.txt | 2 +- src/OBJECT/CMakeLists.txt | 2 +- src/OperationGUI/CMakeLists.txt | 2 +- src/PrimitiveGUI/CMakeLists.txt | 2 +- src/RepairGUI/CMakeLists.txt | 2 +- src/SKETCHER/CMakeLists.txt | 2 +- src/TransformationGUI/CMakeLists.txt | 2 +- src/XAO/CMakeLists.txt | 4 ++-- src/XAO/tests/CMakeLists.txt | 2 +- src/XAO_Swig/CMakeLists.txt | 2 +- 35 files changed, 39 insertions(+), 38 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55ce60f95..4218c48c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,8 +31,9 @@ if (DEFINED EMSCRIPTEN) set(CMAKE_POSITION_INDEPENDENT_CODE ON) list(APPEND CMAKE_FIND_ROOT_PATH "/") message("Using Emscripten") - add_compile_options("--use-port=boost_headers" "-pthread") - add_link_options("-pthread") + add_link_options("-sWASM_BIGINT=1") + # add_compile_options("--use-port=boost_headers" "-pthread") + # add_link_options("-pthread") else() message("Not using Emscripten") endif() @@ -107,7 +108,7 @@ ELSE() FIND_PACKAGE(SalomeOmniORBPy REQUIRED) ENDIF() -FIND_PACKAGE(SalomePThread REQUIRED) +# FIND_PACKAGE(SalomePThread REQUIRED) FIND_PACKAGE(SalomeBoost REQUIRED) FIND_PACKAGE(SalomeOmniORB REQUIRED) FIND_PACKAGE(SalomeLibXml2 REQUIRED) diff --git a/src/ARCHIMEDE/CMakeLists.txt b/src/ARCHIMEDE/CMakeLists.txt index 1c4013bb0..f67a26bf0 100644 --- a/src/ARCHIMEDE/CMakeLists.txt +++ b/src/ARCHIMEDE/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES( ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ) # additional preprocessor / compiler flags diff --git a/src/AdvancedEngine/CMakeLists.txt b/src/AdvancedEngine/CMakeLists.txt index dd623787c..3fce28561 100644 --- a/src/AdvancedEngine/CMakeLists.txt +++ b/src/AdvancedEngine/CMakeLists.txt @@ -22,7 +22,7 @@ # additional include directories INCLUDE_DIRECTORIES( ${OMNIORB_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/GEOMImpl diff --git a/src/AdvancedGUI/CMakeLists.txt b/src/AdvancedGUI/CMakeLists.txt index 60dcba44c..761be3de0 100644 --- a/src/AdvancedGUI/CMakeLists.txt +++ b/src/AdvancedGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/BasicGUI/CMakeLists.txt b/src/BasicGUI/CMakeLists.txt index c521a8c54..214777c10 100644 --- a/src/BasicGUI/CMakeLists.txt +++ b/src/BasicGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/BlockFix/CMakeLists.txt b/src/BlockFix/CMakeLists.txt index b663e2a94..d3f9b66ca 100644 --- a/src/BlockFix/CMakeLists.txt +++ b/src/BlockFix/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES( ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ) diff --git a/src/BlocksGUI/CMakeLists.txt b/src/BlocksGUI/CMakeLists.txt index 3a99fa616..daae8572c 100644 --- a/src/BlocksGUI/CMakeLists.txt +++ b/src/BlocksGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/BooleanGUI/CMakeLists.txt b/src/BooleanGUI/CMakeLists.txt index af6e7a532..1a4827695 100644 --- a/src/BooleanGUI/CMakeLists.txt +++ b/src/BooleanGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/BuildGUI/CMakeLists.txt b/src/BuildGUI/CMakeLists.txt index c35d34a04..48d2d2dd4 100644 --- a/src/BuildGUI/CMakeLists.txt +++ b/src/BuildGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/CurveCreator/CMakeLists.txt b/src/CurveCreator/CMakeLists.txt index ed6121e77..d091895e5 100644 --- a/src/CurveCreator/CMakeLists.txt +++ b/src/CurveCreator/CMakeLists.txt @@ -25,7 +25,7 @@ ENDIF(SALOME_BUILD_GUI) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${GUI_INCLUDE_DIRS} diff --git a/src/DisplayGUI/CMakeLists.txt b/src/DisplayGUI/CMakeLists.txt index 4465665c5..78613e546 100644 --- a/src/DisplayGUI/CMakeLists.txt +++ b/src/DisplayGUI/CMakeLists.txt @@ -21,7 +21,7 @@ # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/EntityGUI/CMakeLists.txt b/src/EntityGUI/CMakeLists.txt index fee45d6b6..595f0ec5c 100644 --- a/src/EntityGUI/CMakeLists.txt +++ b/src/EntityGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OPENCV_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} diff --git a/src/GEOM/CMakeLists.txt b/src/GEOM/CMakeLists.txt index cab853a26..f49396ee4 100644 --- a/src/GEOM/CMakeLists.txt +++ b/src/GEOM/CMakeLists.txt @@ -22,7 +22,7 @@ # additional include directories INCLUDE_DIRECTORIES( ${OpenCASCADE_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/SKETCHER ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/src/GEOMBase/CMakeLists.txt b/src/GEOMBase/CMakeLists.txt index 78a1d2375..5dea0c330 100644 --- a/src/GEOMBase/CMakeLists.txt +++ b/src/GEOMBase/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/GEOMClient/CMakeLists.txt b/src/GEOMClient/CMakeLists.txt index fb084b532..7e8ab87cd 100644 --- a/src/GEOMClient/CMakeLists.txt +++ b/src/GEOMClient/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES( ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}/idl ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/src/GEOMFiltersSelection/CMakeLists.txt b/src/GEOMFiltersSelection/CMakeLists.txt index cf7d64ed7..3e8dd3094 100644 --- a/src/GEOMFiltersSelection/CMakeLists.txt +++ b/src/GEOMFiltersSelection/CMakeLists.txt @@ -22,7 +22,7 @@ # additional include directories INCLUDE_DIRECTORIES( ${OMNIORB_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${GUI_INCLUDE_DIRS} diff --git a/src/GEOMGUI/CMakeLists.txt b/src/GEOMGUI/CMakeLists.txt index 87a51b5ab..11ce762f8 100644 --- a/src/GEOMGUI/CMakeLists.txt +++ b/src/GEOMGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/GEOMImpl/CMakeLists.txt b/src/GEOMImpl/CMakeLists.txt index 16ccc8437..ac3aece40 100644 --- a/src/GEOMImpl/CMakeLists.txt +++ b/src/GEOMImpl/CMakeLists.txt @@ -22,7 +22,7 @@ # additional include directories INCLUDE_DIRECTORIES( ${OpenCASCADE_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/ShHealOper diff --git a/src/GEOMToolsGUI/CMakeLists.txt b/src/GEOMToolsGUI/CMakeLists.txt index 4dd35e633..e12bd8023 100644 --- a/src/GEOMToolsGUI/CMakeLists.txt +++ b/src/GEOMToolsGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/GEOMUtils/CMakeLists.txt b/src/GEOMUtils/CMakeLists.txt index 48faf36f9..82443ced3 100644 --- a/src/GEOMUtils/CMakeLists.txt +++ b/src/GEOMUtils/CMakeLists.txt @@ -22,7 +22,7 @@ # additional include directories INCLUDE_DIRECTORIES( ${OpenCASCADE_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/src/GEOM_I/CMakeLists.txt b/src/GEOM_I/CMakeLists.txt index 633e45e4a..32b278b25 100644 --- a/src/GEOM_I/CMakeLists.txt +++ b/src/GEOM_I/CMakeLists.txt @@ -22,7 +22,7 @@ # additional include directories INCLUDE_DIRECTORIES( ${OMNIORB_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/GEOMImpl diff --git a/src/GEOM_I_Superv/CMakeLists.txt b/src/GEOM_I_Superv/CMakeLists.txt index 079d0a7e2..f1ddbb562 100644 --- a/src/GEOM_I_Superv/CMakeLists.txt +++ b/src/GEOM_I_Superv/CMakeLists.txt @@ -22,7 +22,7 @@ # additional include directories INCLUDE_DIRECTORIES( ${OMNIORB_INCLUDE_DIR} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}/idl ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/src/GEOM_SWIG_WITHIHM/CMakeLists.txt b/src/GEOM_SWIG_WITHIHM/CMakeLists.txt index 14794abdd..e4c3a2c0d 100644 --- a/src/GEOM_SWIG_WITHIHM/CMakeLists.txt +++ b/src/GEOM_SWIG_WITHIHM/CMakeLists.txt @@ -24,7 +24,7 @@ INCLUDE(${SWIG_USE_FILE}) # additional include directories INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} + #${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/GenerationGUI/CMakeLists.txt b/src/GenerationGUI/CMakeLists.txt index e3a2e4b88..0590068ef 100644 --- a/src/GenerationGUI/CMakeLists.txt +++ b/src/GenerationGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/GroupGUI/CMakeLists.txt b/src/GroupGUI/CMakeLists.txt index c7ebb85e6..afbeaa93d 100644 --- a/src/GroupGUI/CMakeLists.txt +++ b/src/GroupGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/MeasureGUI/CMakeLists.txt b/src/MeasureGUI/CMakeLists.txt index 356d86507..d85f71c11 100644 --- a/src/MeasureGUI/CMakeLists.txt +++ b/src/MeasureGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/OBJECT/CMakeLists.txt b/src/OBJECT/CMakeLists.txt index 59ed18aa9..7408d96f6 100644 --- a/src/OBJECT/CMakeLists.txt +++ b/src/OBJECT/CMakeLists.txt @@ -21,7 +21,7 @@ # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/OperationGUI/CMakeLists.txt b/src/OperationGUI/CMakeLists.txt index ba51c252c..937c3bcea 100644 --- a/src/OperationGUI/CMakeLists.txt +++ b/src/OperationGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/PrimitiveGUI/CMakeLists.txt b/src/PrimitiveGUI/CMakeLists.txt index 40a246d7e..4c42b492a 100644 --- a/src/PrimitiveGUI/CMakeLists.txt +++ b/src/PrimitiveGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/RepairGUI/CMakeLists.txt b/src/RepairGUI/CMakeLists.txt index d60498bb8..77e831e89 100644 --- a/src/RepairGUI/CMakeLists.txt +++ b/src/RepairGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/SKETCHER/CMakeLists.txt b/src/SKETCHER/CMakeLists.txt index 7aa0e6034..41c0ead68 100644 --- a/src/SKETCHER/CMakeLists.txt +++ b/src/SKETCHER/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES( ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ) # additional preprocessor / compiler flags diff --git a/src/TransformationGUI/CMakeLists.txt b/src/TransformationGUI/CMakeLists.txt index a7e905f92..b683de8b2 100644 --- a/src/TransformationGUI/CMakeLists.txt +++ b/src/TransformationGUI/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${KERNEL_INCLUDE_DIRS} diff --git a/src/XAO/CMakeLists.txt b/src/XAO/CMakeLists.txt index 416d0860c..d16b5b976 100644 --- a/src/XAO/CMakeLists.txt +++ b/src/XAO/CMakeLists.txt @@ -25,7 +25,7 @@ ENDIF(SALOME_BUILD_TESTS) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ) @@ -38,7 +38,7 @@ ADD_DEFINITIONS( # libraries to link to SET(_link_LIBRARIES - ${PTHREAD_LIBRARIES} + # ${PTHREAD_LIBRARIES} ${LIBXML2_LIBRARIES} ${OpenCASCADE_ModelingData_LIBRARIES} # ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} diff --git a/src/XAO/tests/CMakeLists.txt b/src/XAO/tests/CMakeLists.txt index 43adcec5c..bcd768891 100644 --- a/src/XAO/tests/CMakeLists.txt +++ b/src/XAO/tests/CMakeLists.txt @@ -21,7 +21,7 @@ ADD_SUBDIRECTORY(data) # additional include directories INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${CPPUNIT_INCLUDE_DIRS} ) diff --git a/src/XAO_Swig/CMakeLists.txt b/src/XAO_Swig/CMakeLists.txt index 9eda677e2..8ddb611a8 100644 --- a/src/XAO_Swig/CMakeLists.txt +++ b/src/XAO_Swig/CMakeLists.txt @@ -24,7 +24,7 @@ INCLUDE(${SWIG_USE_FILE}) # additional include directories INCLUDE_DIRECTORIES( ${PYTHON_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} + # ${PTHREAD_INCLUDE_DIR} ${OpenCASCADE_INCLUDE_DIR} ${PROJECT_SOURCE_DIR}/src/XAO )