Codebase list votca-xtp / 81ca0f7
New upstream version 1.6.1 Nicholas Breen 3 years ago
3 changed file(s) with 15 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
00 For more detailed information about the changes see the history of the
11 [repository](https://github.com/votca/xtp/commits/master).
2
3 ## Version 1.6.1 (released 21.06.20)
4 * fix warnings on Ubuntu 20.04 (#438, #460)
5 * remove obsolete boost define (#440)
26
37 ## Version 1.6 _SuperPelagia_ (released 17.04.20)
48 * fix 32-bit build (#381, #380)
11 project(votca-xtp)
22
33
4 set(PROJECT_VERSION "1.6")
4 set(PROJECT_VERSION "1.6.1")
55 set(PROJECT_CONTACT "bugs@votca.org")
66 string(REGEX REPLACE "^[1-9]+\\.([1-9]+).*$" "\\1" SOVERSION "${PROJECT_VERSION}")
77 if (NOT ${SOVERSION} MATCHES "[1-9]+")
1717 endif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
1818 if(CMAKE_BUILD_TYPE STREQUAL Debug)
1919 add_definitions(-DDEBUG)
20 elseif(CMAKE_BUILD_TYPE STREQUAL Release)
21 add_definitions(-DBOOST_UBLAS_NDEBUG)
2220 endif()
2321
2422 enable_language(CXX)
4644 find_package(LIBXC REQUIRED)
4745 find_package(HDF5 1.8 REQUIRED COMPONENTS CXX)
4846
49 if (${HDF5_VERSION} GREATER 1.8)
47 if(HDF5_VERSION VERSION_GREATER 1.8)
5048 message(WARNING "HDF5 will be used such that it is compatible with version 1.8.")
5149 endif()
5250
51 # https://github.com/votca/xtp/issues/436, hdf5-1.10.4 generates a implicitly-declared operator warning
52 if(HDF5_VERSION VERSION_GREATER_EQUAL 1.10.4 AND HDF5_VERSION VERSION_LESS_EQUAL 1.10.6)
53 include(CheckCXXCompilerFlag)
54 check_cxx_compiler_flag("-Wno-deprecated-copy" COMPILER_SUPPORTS_WNO_DEPRECATED_COPY)
55 if(COMPILER_SUPPORTS_WNO_DEPRECATED_COPY)
56 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-copy")
57 endif()
58 endif()
5359
5460 option(BUILD_SHARED_LIBS "Build shared libs" ON)
5561 include(GNUInstallDirs)
11
22 project(xtp-tutorials)
33
4 set(PROJECT_VERSION "1.6")
4 set(PROJECT_VERSION "1.6.1")
55
66 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
77 include(GNUInstallDirs)