mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
78591dd7f4
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
42 lines
1.9 KiB
Diff
42 lines
1.9 KiB
Diff
--- avogadrolibs-1.95.1/cmake/FindSpglib.cmake 2022-17-04 15:40:00.000000000 +0200
|
|
+++ avogadrolibs-1.95.1-fixed/cmake/FindSpglib.cmake 2022-17-04 15:40:01.000000000 +0200
|
|
@@ -12,7 +12,7 @@
|
|
set(SPGLIB_INCLUDE_DIRS "${SPGLIB_INCLUDE_DIR}")
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
-find_package_handle_standard_args(SPGLIB DEFAULT_MSG SPGLIB_INCLUDE_DIR
|
|
+find_package_handle_standard_args(Spglib DEFAULT_MSG SPGLIB_INCLUDE_DIR
|
|
SPGLIB_LIBRARY)
|
|
|
|
mark_as_advanced(SPGLIB_INCLUDE_DIR SPGLIB_LIBRARY)
|
|
--- avogadrolibs-1.95.1/cmake/FindLibArchive.cmake 2022-17-04 15:50:00.000000000 +0200
|
|
+++ avogadrolibs-1.95.1-fixed/cmake/FindLibArchive.cmake 2022-17-04 15:50:01.000000000 +0200
|
|
@@ -14,7 +14,7 @@
|
|
set(LIBARCHIVE_LIBRARIES "${LIBARCHIVE_LIBRARY}")
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
-find_package_handle_standard_args(LIBARCHIVE DEFAULT_MSG LIBARCHIVE_INCLUDE_DIR
|
|
+find_package_handle_standard_args(LibArchive DEFAULT_MSG LIBARCHIVE_INCLUDE_DIR
|
|
LIBARCHIVE_LIBRARY)
|
|
|
|
mark_as_advanced(LIBARCHIVE_INCLUDE_DIR LIBARCHIVE_LIBRARY)
|
|
--- avogadrolibs-1.95.1/python/CMakeLists.txt 2022-17-04 16:00:00.000000000 +0200
|
|
+++ avogadrolibs-1.95.1-fixed/python/CMakeLists.txt 2022-17-04 16:00:01.000000000 +0200
|
|
@@ -1,7 +1,7 @@
|
|
find_package(PythonInterp 3 REQUIRED)
|
|
find_package(PythonLibs 3 REQUIRED)
|
|
set(PYBIND11_PYTHON_VERSION "3" CACHE STRING "")
|
|
-set(PYBIND11_CPP_STANDARD "-std=c++11" CACHE STRING "")
|
|
+set(CMAKE_CXX_STANDARD 14 CACHE STRING "")
|
|
find_package(pybind11 REQUIRED)
|
|
|
|
find_package(Eigen3 REQUIRED)
|
|
--- avogadrolibs-1.95.1/avogadro/qtplugins/quantuminput/CMakeLists.txt 2022-18-04 19:00:00.000000000 +0200
|
|
+++ avogadrolibs-1.95.1-fixed/avogadro/qtplugins/quantuminput/CMakeLists.txt 2022-18-04 19:00:01.000000000 +0200
|
|
@@ -41,3 +41,5 @@
|
|
else()
|
|
+ if(USE_PYTHON)
|
|
- message("Avogadro Generators not found at ${_prefix}!")
|
|
+ message("Avogadro Generators not found at ${_prefix}!")
|
|
+ endif()
|
|
endif()
|