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

index db647995093c0d35c33fd187669d034156656d33..96ca250faeb72450d9bb4db8a448f8834adbfac6 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)