mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Remove config.h
This commit is contained in:
parent
e8712aa8ae
commit
cb3af7ab55
@ -170,8 +170,11 @@ set(CMAKE_INSTALL_RPATH "${NG_RPATH_TOKEN};${NG_RPATH_TOKEN}/${NETGEN_RPATH}")
|
|||||||
|
|
||||||
include (CheckIncludeFiles)
|
include (CheckIncludeFiles)
|
||||||
check_include_files (dlfcn.h HAVE_DLFCN_H)
|
check_include_files (dlfcn.h HAVE_DLFCN_H)
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
if(HAVE_DLFCN_H)
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
add_definitions(-DHAVE_DLFCN_H)
|
||||||
|
endif()
|
||||||
|
add_definitions(-DPACKAGE_VERSION="${NETGEN_VERSION}")
|
||||||
|
|
||||||
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
|
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
#cmakedefine HAVE_DLFCN_H 1
|
|
||||||
#define PACKAGE_VERSION "${NETGEN_VERSION}"
|
|
@ -1,11 +1,6 @@
|
|||||||
#ifndef FILE_MYSTDLIB
|
#ifndef FILE_MYSTDLIB
|
||||||
#define FILE_MYSTDLIB
|
#define FILE_MYSTDLIB
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
Loading…
Reference in New Issue
Block a user