wdye: ensure we find our own config.h
This commit is contained in:
parent
51231d84ba
commit
af889b733e
@ -22,7 +22,7 @@ option (WITH_CURSES "Offer terminal sequences using Curses" "${CURSES_FOUND}")
|
|||||||
# -liconv may or may not be a part of libc
|
# -liconv may or may not be a part of libc
|
||||||
find_path (iconv_INCLUDE_DIRS iconv.h)
|
find_path (iconv_INCLUDE_DIRS iconv.h)
|
||||||
|
|
||||||
include_directories ("${PROJECT_BINARY_DIR}" ${iconv_INCLUDE_DIRS})
|
include_directories (BEFORE "${PROJECT_BINARY_DIR}" ${iconv_INCLUDE_DIRS})
|
||||||
file (CONFIGURE OUTPUT "${PROJECT_BINARY_DIR}/config.h" CONTENT [[
|
file (CONFIGURE OUTPUT "${PROJECT_BINARY_DIR}/config.h" CONTENT [[
|
||||||
#define PROGRAM_NAME "${PROJECT_NAME}"
|
#define PROGRAM_NAME "${PROJECT_NAME}"
|
||||||
#define PROGRAM_VERSION "${PROJECT_VERSION}"
|
#define PROGRAM_VERSION "${PROJECT_VERSION}"
|
||||||
|
Loading…
Reference in New Issue
Block a user