From: Jean-Philippe ARGAUD Date: Tue, 7 Apr 2020 14:12:20 +0000 (+0200) Subject: Fix installation procedure for Windows (Tuleap [bos #18930]) X-Git-Tag: V9_5_0b~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a19274f8a9c77786f112b82d19d07b09b643db1c;p=modules%2Fadao.git Fix installation procedure for Windows (Tuleap [bos #18930]) --- 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.")