Skip to content

Commit d5086eb

Browse files
committed
Fix
1 parent 8c750b0 commit d5086eb

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

python/CMakeLists.txt

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
find_package(Python3 REQUIRED)
2-
set(PYTHON_LIB_DIR lib)
3-
if("${Python3_SITEARCH}" MATCHES "/lib64/")
4-
set(PYTHON_LIB_DIR lib64)
5-
endif()
6-
7-
set(podio_PYTHON_INSTALLDIR "${CMAKE_INSTALL_PREFIX}/${PYTHON_LIB_DIR}/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/site-packages")
8-
set(podio_PYTHON_INSTALLDIR ${podio_PYTHON_INSTALLDIR} PARENT_SCOPE)
1+
SET(podio_PYTHON_INSTALLDIR python)
2+
SET(podio_PYTHON_INSTALLDIR ${podio_PYTHON_INSTALLDIR} PARENT_SCOPE)
93

104
set(to_install
115
podio_class_generator.py

tests/extra_code/implementations.cc

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
bool {
2-
name
3-
}
4-
::lt(int i) const {
5-
return number() < i;
6-
}
1+
bool {name}::lt(int i) const { return number() < i; }
+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
int {
2-
name
3-
}
4-
::reset() {
1+
int {name}::reset() {
52
number() = 0;
63
return number();
74
}

0 commit comments

Comments
 (0)