diff options
author | Michael Wang | 2025-03-12 16:17:06 +1100 |
---|---|---|
committer | Michael Wang | 2025-03-12 16:17:06 +1100 |
commit | 6a81d0d6cb5932744cc379979cd1810afe01416a (patch) | |
tree | db5192b9d75ae06b673aa204f3a0d8c10df428bf /CMakeLists.patch | |
parent | 941454a18ed4de37bf599da7327d5d2859987083 (diff) | |
download | aur-6a81d0d6cb5932744cc379979cd1810afe01416a.tar.gz |
update version to 3.1.5
Diffstat (limited to 'CMakeLists.patch')
-rw-r--r-- | CMakeLists.patch | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/CMakeLists.patch b/CMakeLists.patch new file mode 100644 index 000000000000..70636313f12c --- /dev/null +++ b/CMakeLists.patch @@ -0,0 +1,77 @@ +--- src/IQmol3-3.1.5/CMakeLists.txt 2024-10-10 22:59:53.000000000 +1100 ++++ src/IQmol3-3.1.5/CMakeLists.txt.new 2025-03-12 13:47:22.952569770 +1100 +@@ -12,9 +12,6 @@ + + set(CMAKE_CXX_STANDARD 11) + set(CMAKE_CXX_STANDARD_REQUIRED ON) +-set(CMAKE_BUILD_TYPE Release) +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated") +-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") + + # We need this to be able to include e.g. "Data/Bank.h" in the sources + include_directories(src) +@@ -22,6 +19,7 @@ + include_directories(${CMAKE_CURRENT_BINARY_DIR}/src) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) + ++include_directories(/usr/include/openbabel3) + + find_package(Qt5 COMPONENTS Core Gui Xml PrintSupport Widgets OpenGL REQUIRED) + +@@ -35,25 +33,6 @@ + find_package(OpenGL REQUIRED) + find_package(OpenSSL REQUIRED) + +- +-# No CMakeLists.txt for libQGLViewer +-include_directories(modules/libQGLViewer) +-add_subdirectory(modules EXCLUDE_FROM_ALL) +- +-include_directories(modules/libssh2/include) +-add_subdirectory(modules/libssh2 EXCLUDE_FROM_ALL) +- +-include_directories(modules/openmesh/src) +-add_subdirectory(modules/openmesh EXCLUDE_FROM_ALL) +-set(OPENMESH_LIBRARIES OpenMeshCoreStatic OpenMeshToolsStatic) +- +-include_directories(modules/yaml-cpp/include) +-add_subdirectory(modules/yaml-cpp EXCLUDE_FROM_ALL) +- +-include_directories(modules/openbabel/include) +-include_directories(${CMAKE_CURRENT_BINARY_DIR}/modules/openbabel/include) +-add_subdirectory(modules/openbabel EXCLUDE_FROM_ALL) +- + + if(QARCHIVE) + #set(HDF5_USE_STATIC_LIBRARIES 1) +@@ -147,10 +126,6 @@ + endif (WIN32) + + +-# This works on ubuntu, not sure about others +-unset(CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES) +-set(FORTRAN_LIBRARIES libgfortran.a libquadmath.a) +- + target_link_libraries (${targetName} + Main + Process +@@ -166,9 +141,10 @@ + Math + Plot + Fort +- libssh2 ++ ssh2 + yaml-cpp + openbabel ++ OpenMeshTools + QGLViewer + Qt5::Core + Qt5::Gui +@@ -178,7 +154,6 @@ + Qt5::OpenGL + ${OPENMESH_LIBRARIES} + ${Boost_LIBRARIES} +- ${LIBSSH2_LIBRARY} + ${OPENGL_LIBRARIES} + ${ZLIB_LIBRARIES} + ${FORTRAN_LIBRARIES} |