]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
Fix installation procedure for Windows (Tuleap [bos #18930])
authorJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Tue, 7 Apr 2020 14:12:20 +0000 (16:12 +0200)
committerJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Tue, 7 Apr 2020 14:12:20 +0000 (16:12 +0200)
CMakeLists.txt

index 029787d09a799e7850946c57977c6b571a5c8f72..0b8ab5f6e18c88e503a621b3a5f41167b0c26396 100644 (file)
@@ -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.")