Commit 9e38082c authored by Pino Toscano's avatar Pino Toscano

[CMake] add the Win32-specific ENABLE_RELOCATABLE option, matching autotools' one

parent eb030208
......@@ -37,6 +37,11 @@ else(MSVC)
option(WITH_FONTCONFIGURATION_WIN32 "Select win32 font configuration backend" OFF)
option(WITH_FONTCONFIGURATION_FONTCONFIG "Select fontconfig font configuration backend" ON)
endif(MSVC)
if(WIN32)
option(ENABLE_RELOCATABLE "Hardcode the poppler library location (on Windows)." ON)
else(WIN32)
set(ENABLE_RELOCATABLE OFF)
endif(WIN32)
set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
......
......@@ -12,6 +12,9 @@
/* Build against libpng. */
#cmakedefine ENABLE_LIBPNG 1
/* Do not hardcode the library location */
#cmakedefine ENABLE_RELOCATABLE 1
/* Use zlib instead of builtin zlib decoder. */
#cmakedefine ENABLE_ZLIB 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment