Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed May 23, 2024
1 parent 8c750b0 commit d5086eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
10 changes: 2 additions & 8 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
find_package(Python3 REQUIRED)
set(PYTHON_LIB_DIR lib)
if("${Python3_SITEARCH}" MATCHES "/lib64/")
set(PYTHON_LIB_DIR lib64)
endif()

set(podio_PYTHON_INSTALLDIR "${CMAKE_INSTALL_PREFIX}/${PYTHON_LIB_DIR}/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/site-packages")
set(podio_PYTHON_INSTALLDIR ${podio_PYTHON_INSTALLDIR} PARENT_SCOPE)
SET(podio_PYTHON_INSTALLDIR python)
SET(podio_PYTHON_INSTALLDIR ${podio_PYTHON_INSTALLDIR} PARENT_SCOPE)

set(to_install
podio_class_generator.py
Expand Down
7 changes: 1 addition & 6 deletions tests/extra_code/implementations.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
bool {
name
}
::lt(int i) const {
return number() < i;
}
bool {name}::lt(int i) const { return number() < i; }
5 changes: 1 addition & 4 deletions tests/extra_code/mutable_implementations.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
int {
name
}
::reset() {
int {name}::reset() {
number() = 0;
return number();
}

0 comments on commit d5086eb

Please sign in to comment.