From a19274f8a9c77786f112b82d19d07b09b643db1c Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Tue, 7 Apr 2020 16:12:20 +0200 Subject: [PATCH] Fix installation procedure for Windows (Tuleap [bos #18930]) --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 029787d..0b8ab5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,6 +74,8 @@ if(ADAO_PYTHON_MODULE) else(ADAO_PYTHON_MODULE) + include(SalomeSetupPlatform) + # ADAO_SALOME_MODULE install(FILES COPYING.txt README.txt DESTINATION $ENV{CURRENT_SOFTWARE_INSTALL_DIR}) @@ -81,6 +83,7 @@ else(ADAO_PYTHON_MODULE) find_package(SalomeOmniORBPy REQUIRED) find_package(SalomeKERNEL REQUIRED) KERNEL_WITH_CORBA() + add_definitions(${OMNIORB_DEFINITIONS}) if(NOT ADAO_PYTHON_ROOT_DIR) message(FATAL_ERROR "ADAO_PYTHON_ROOT_DIR cmake variable has to be set if ADAO_SALOME_MODULE option is ON.") -- 2.39.2