]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Run SALOME with UNICODE path rnv/unicode_path
authorrnv <rnv@opencascade.com>
Thu, 21 Feb 2019 08:39:00 +0000 (11:39 +0300)
committerrnv <rnv@opencascade.com>
Thu, 21 Feb 2019 08:39:00 +0000 (11:39 +0300)
cmake/SalomeSetupPlatform.cmake

index 3d7ef60cdaa37b79cd2f46857be973fee61344ff..b3a9fa8dda4e70b6bfc4221db817d21c4fed83d3 100644 (file)
@@ -74,6 +74,8 @@ IF(WIN32)
   ELSE()
     SET(SIZE_OF_LONG ${CMAKE_SIZEOF_VOID_P})  # Set sizeof(long) the same as size of pointers
   ENDIF()
+  ADD_DEFINITIONS(-DUNICODE)                  # Unicode 
+  ADD_DEFINITIONS(-D_UNICODE)
 ELSE()
   ## Linux specific:
   SET(PLATFORM_LIBS dl)                       # Dynamic loading (dlopen, dlsym)