mirror of
https://github.com/OpenCMT/uLib.git
synced 2025-12-06 07:21:31 +01:00
Removed ltk and Detectors from build
This commit is contained in:
@@ -13,7 +13,6 @@ BuildRequires: eigen3-devel
|
||||
BuildRequires: vtk-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: pcl-devel
|
||||
BuildRequires: geant4-devel
|
||||
BuildRequires: root-geom
|
||||
BuildRequires: root-genvector
|
||||
BuildRequires: root-smatrix
|
||||
@@ -35,8 +34,8 @@ mkdir -p %{buildroot}
|
||||
mkdir %{_builddir}/%{name}-%{version}/build
|
||||
cd %{_builddir}/%{name}-%{version}/build
|
||||
cmake3 -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr \
|
||||
-DULIB_USE_QT5=OFF \
|
||||
-DPACKAGE_INSTALL_LIB_DIR=%{buildroot}/usr/lib64 \
|
||||
-DNODOXYGEN=ON \
|
||||
%{_builddir}/%{name}-%{version}
|
||||
make
|
||||
|
||||
@@ -68,7 +67,6 @@ Requires: eigen3-devel
|
||||
Requires: vtk-devel
|
||||
Requires: readline-devel
|
||||
Requires: pcl-devel
|
||||
Requires: geant4-devel
|
||||
Requires: root-geom
|
||||
Requires: root-genvector
|
||||
Requires: root-smatrix
|
||||
@@ -86,18 +84,14 @@ analysis and imaging software Developed by University of Padova and INFN Sezione
|
||||
/usr/lib64/libmutom*.so
|
||||
/usr/lib64/cmake/mutom-0.2/*.cmake
|
||||
%dir /usr/include/mutom-0.2
|
||||
%dir /usr/include/mutom-0.2/ltk
|
||||
%dir /usr/include/mutom-0.2/Core
|
||||
%dir /usr/include/mutom-0.2/Math
|
||||
%dir /usr/include/mutom-0.2/Detectors
|
||||
%dir /usr/include/mutom-0.2/Root
|
||||
%dir /usr/include/mutom-0.2/Vtk
|
||||
/usr/include/mutom-0.2/*.h
|
||||
/usr/include/mutom-0.2/ltk/*h
|
||||
/usr/include/mutom-0.2/Core/*.h
|
||||
/usr/include/mutom-0.2/Math/*.h
|
||||
/usr/include/mutom-0.2/Math/*.hpp
|
||||
/usr/include/mutom-0.2/Detectors/*.h
|
||||
/usr/include/mutom-0.2/Root/*.h
|
||||
/usr/include/mutom-0.2/Vtk/*.h
|
||||
|
||||
|
||||
@@ -75,36 +75,36 @@ endif(ULIB_USE_VTK)
|
||||
|
||||
|
||||
## GEANT ##
|
||||
option(ULIB_USE_GEANT4 "Activate use of GEANT Integration" ON)
|
||||
message(STATUS "## GEANT 4 ##")
|
||||
#include(FindGEANT4) # disabled using system finder
|
||||
find_package(Geant4)
|
||||
set(GEANT4_FOUND Geant4_DIR)
|
||||
if(GEANT4_FOUND AND ULIB_USE_GEANT4)
|
||||
message(STATUS "Looking for Geant4... - Geant4 found in ${Geant4_DIR}")
|
||||
set(HAVE_GEANT4 true)
|
||||
include_directories(${Geant4_INCLUDE_DIRS}) # Add -I type paths
|
||||
add_definitions(${Geant4_DEFINITIONS}) # Add -D type defs
|
||||
debug_package(Geant4)
|
||||
endif(GEANT4_FOUND AND ULIB_USE_GEANT4)
|
||||
#option(ULIB_USE_GEANT4 "Activate use of GEANT Integration" ON)
|
||||
#message(STATUS "## GEANT 4 ##")
|
||||
##include(FindGEANT4) # disabled using system finder
|
||||
#find_package(Geant4)
|
||||
#set(GEANT4_FOUND Geant4_DIR)
|
||||
#if(GEANT4_FOUND AND ULIB_USE_GEANT4)
|
||||
# message(STATUS "Looking for Geant4... - Geant4 found in ${Geant4_DIR}")
|
||||
# set(HAVE_GEANT4 true)
|
||||
# include_directories(${Geant4_INCLUDE_DIRS}) # Add -I type paths
|
||||
# add_definitions(${Geant4_DEFINITIONS}) # Add -D type defs
|
||||
# debug_package(Geant4)
|
||||
#endif(GEANT4_FOUND AND ULIB_USE_GEANT4)
|
||||
|
||||
## QT4 ##
|
||||
option(ULIB_USE_QT4 "Activate use of Qt Framework" ON)
|
||||
if(ULIB_USE_QT4)
|
||||
message(STATUS "## QT4 ##")
|
||||
find_package(Qt4)
|
||||
# include_directories(${Qt4_INCLUDE_DIRS})
|
||||
# debug(Qt4_INCLUDE_DIRS)
|
||||
endif(ULIB_USE_QT4)
|
||||
#option(ULIB_USE_QT4 "Activate use of Qt Framework" ON)
|
||||
#if(ULIB_USE_QT4)
|
||||
# message(STATUS "## QT4 ##")
|
||||
# find_package(Qt4)
|
||||
## include_directories(${Qt4_INCLUDE_DIRS})
|
||||
## debug(Qt4_INCLUDE_DIRS)
|
||||
#endif(ULIB_USE_QT4)
|
||||
|
||||
## QT5 ##
|
||||
option(ULIB_USE_QT5 "Activate use of Qt Framework" ON)
|
||||
if(ULIB_USE_QT5)
|
||||
message(STATUS "## QT5 ##")
|
||||
find_package(Qt5Widgets)
|
||||
# include_directories(${Qt5_INCLUDE_DIRS})
|
||||
# debug(Qt5_INCLUDE_DIRS)
|
||||
endif(ULIB_USE_QT5)
|
||||
#option(ULIB_USE_QT5 "Activate use of Qt Framework" ON)
|
||||
#if(ULIB_USE_QT5)
|
||||
# message(STATUS "## QT5 ##")
|
||||
# find_package(Qt5Widgets)
|
||||
## include_directories(${Qt5_INCLUDE_DIRS})
|
||||
## debug(Qt5_INCLUDE_DIRS)
|
||||
#endif(ULIB_USE_QT5)
|
||||
|
||||
## READLINE ##
|
||||
message(STATUS "## READLINE ##")
|
||||
|
||||
Reference in New Issue
Block a user