Salome HOME
projects
/
tools
/
medcoupling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94399cc
)
CMake-ish propagation of MEDCOUPLING_USE_64BIT_IDS define
author
vsr
<vsr@opencascade.com>
Tue, 3 Nov 2020 09:13:16 +0000
(12:13 +0300)
committer
vsr
<vsr@opencascade.com>
Tue, 3 Nov 2020 09:13:16 +0000
(12:13 +0300)
CMakeLists.txt
patch
|
blob
|
history
MEDCoupling_version.h.in
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index ca47e7605ecd0f13630be3bf9be4e907630b6d41..dc4e35b6e48a329f855dd8c3c4eef00a6e57b68c 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-125,11
+125,6
@@
ENDIF()
# Set list of prerequisites
# =========================
-set(MEDCOUPLING_USE_64BIT_IDS_CPP_DEFINE)
-if(MEDCOUPLING_USE_64BIT_IDS)
- set(MEDCOUPLING_USE_64BIT_IDS_CPP_DEFINE "#define MEDCOUPLING_USE_64BIT_IDS")
-endif(MEDCOUPLING_USE_64BIT_IDS)
-
IF(NOT MEDCOUPLING_MICROMED)
FIND_PACKAGE(SalomeHDF5 REQUIRED)
FIND_PACKAGE(SalomeMEDFile REQUIRED)
diff --git
a/MEDCoupling_version.h.in
b/MEDCoupling_version.h.in
index 4d29e02efd26ae3ade3c956faee5d34d6c4ce72c..d6c15275da109da9354a2c61491a1252fd32c4e9 100644
(file)
--- a/
MEDCoupling_version.h.in
+++ b/
MEDCoupling_version.h.in
@@
-40,4
+40,4
@@
// define MEDCOUPLING_USE_64BIT_IDS if effectly used at medcoupling compile time
-@MEDCOUPLING_USE_64BIT_IDS_CPP_DEFINE@
+#cmakedefine MEDCOUPLING_USE_64BIT_IDS