Unbreak CMake Windows installation
* CMakeLists.txt: Generate ftconfig.h on non-UNIX.
This commit is contained in:
parent
9514959241
commit
660afb5ce8
|
@ -229,9 +229,12 @@ if (UNIX)
|
||||||
endif ()
|
endif ()
|
||||||
string(REPLACE "/undef " "#undef "
|
string(REPLACE "/undef " "#undef "
|
||||||
FTCONFIG_H "${FTCONFIG_H}")
|
FTCONFIG_H "${FTCONFIG_H}")
|
||||||
file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h"
|
else()
|
||||||
"${FTCONFIG_H}")
|
file(READ "${PROJECT_SOURCE_DIR}/include/freetype/config/ftconfig.h"
|
||||||
|
FTCONFIG_H)
|
||||||
endif ()
|
endif ()
|
||||||
|
file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h"
|
||||||
|
"${FTCONFIG_H}")
|
||||||
|
|
||||||
|
|
||||||
# Create the options file
|
# Create the options file
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
2018-05-02 Nikolaus Waxweiler <madigens@gmail.com>
|
||||||
|
|
||||||
|
Unbreak CMake Windows installation
|
||||||
|
|
||||||
|
* CMakeLists.txt: Generate ftconfig.h on non-UNIX.
|
||||||
|
|
||||||
|
|
||||||
2018-05-02 Werner Lemberg <wl@gnu.org>
|
2018-05-02 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
Remove FT_CONFIG_OPTION_PIC and related code.
|
Remove FT_CONFIG_OPTION_PIC and related code.
|
||||||
|
|
Loading…
Reference in New Issue