Define PACKAGE_VERSION in mydefs.hpp

Change "PACKAGE_VERSION" to "NETGEN_VERSION" in NetgenConfig.cmake
This commit is contained in:
Matthias Hochsteger 2018-02-02 10:49:58 +01:00
parent 356fc6c42f
commit 90dee5fde4
3 changed files with 3 additions and 2 deletions

View File

@ -184,7 +184,7 @@ check_include_files (dlfcn.h HAVE_DLFCN_H)
if(HAVE_DLFCN_H) if(HAVE_DLFCN_H)
add_definitions(-DHAVE_DLFCN_H) add_definitions(-DHAVE_DLFCN_H)
endif() endif()
add_definitions(-DPACKAGE_VERSION="${NETGEN_VERSION}") add_definitions(-DNETGEN_VERSION="${NETGEN_VERSION}")
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}) include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})

View File

@ -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) get_filename_component(NETGEN_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

View File

@ -11,6 +11,7 @@
defines for graphics, testmodes, ... defines for graphics, testmodes, ...
*/ */
#define PACKAGE_VERSION "6.2-dev"
// #define DEBUG // #define DEBUG