Salome HOME
projects
/
tools
/
configuration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
741a91a
)
Run SALOME with UNICODE path
author
rnv
<rnv@opencascade.com>
Thu, 21 Feb 2019 08:39:00 +0000
(11:39 +0300)
committer
rnv
<rnv@opencascade.com>
Mon, 11 Mar 2019 10:04:00 +0000
(13:04 +0300)
cmake/SalomeSetupPlatform.cmake
patch
|
blob
|
history
diff --git
a/cmake/SalomeSetupPlatform.cmake
b/cmake/SalomeSetupPlatform.cmake
index db647995093c0d35c33fd187669d034156656d33..96ca250faeb72450d9bb4db8a448f8834adbfac6 100644
(file)
--- a/
cmake/SalomeSetupPlatform.cmake
+++ b/
cmake/SalomeSetupPlatform.cmake
@@
-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)