Skip to content

Commit 220d903

Browse files
Minor CMake updates
1 parent ae7bbec commit 220d903

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

3rdparty/EPAutotools.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include(ProcessorCount)
33
function(ExternalProjectAutotools EXTERNAL_PROJECT_NAME)
44
pkg_check_modules(LIBNAME QUIET ${EXTERNAL_PROJECT_NAME})
55
if (NOT LIBNAME_FOUND)
6-
message("External project ${EXTERNAL_PROJECT_NAME} not found, will have to be built.")
6+
message(STATUS "External project ${EXTERNAL_PROJECT_NAME} not found, will have to be built.")
77

88
set(options)
99
set(oneValueArgs URL URL_HASH)

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ set(PDF2HTMLEX_SRC ${PDF2HTMLEX_SRC}
175175

176176
add_executable(pdf2htmlEX ${PDF2HTMLEX_SRC})
177177

178-
if (freetype_FOUND)
178+
if(ENABLE_SVG)
179179
target_link_libraries(pdf2htmlEX freetype)
180-
endif(freetype_FOUND)
180+
endif()
181181
target_link_libraries(pdf2htmlEX ${PDF2HTMLEX_LIBS})
182182

183183
add_custom_target(pdf2htmlEX_resources ALL DEPENDS

0 commit comments

Comments
 (0)