mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Define PACKAGE_VERSION in mydefs.hpp
Change "PACKAGE_VERSION" to "NETGEN_VERSION" in NetgenConfig.cmake
This commit is contained in:
parent
356fc6c42f
commit
90dee5fde4
@ -184,7 +184,7 @@ check_include_files (dlfcn.h HAVE_DLFCN_H)
|
||||
if(HAVE_DLFCN_H)
|
||||
add_definitions(-DHAVE_DLFCN_H)
|
||||
endif()
|
||||
add_definitions(-DPACKAGE_VERSION="${NETGEN_VERSION}")
|
||||
add_definitions(-DNETGEN_VERSION="${NETGEN_VERSION}")
|
||||
|
||||
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(PACKAGE_VERSION "@NETGEN_VERSION@")
|
||||
set(NETGEN_VERSION "@NETGEN_VERSION@")
|
||||
|
||||
get_filename_component(NETGEN_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
defines for graphics, testmodes, ...
|
||||
*/
|
||||
|
||||
#define PACKAGE_VERSION "6.2-dev"
|
||||
|
||||
// #define DEBUG
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user