From 7611b3476856ac9b949840fb826fcac4d6e9c3e5 Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 15 Mar 2019 08:28:12 -0400 Subject: [PATCH] Set png include paths for test. --- dlib/cmake_utils/test_for_libpng/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dlib/cmake_utils/test_for_libpng/CMakeLists.txt b/dlib/cmake_utils/test_for_libpng/CMakeLists.txt index 0f504f141..65cd85a4d 100644 --- a/dlib/cmake_utils/test_for_libpng/CMakeLists.txt +++ b/dlib/cmake_utils/test_for_libpng/CMakeLists.txt @@ -4,6 +4,7 @@ project(test_if_libpng_is_broken) find_package(PNG) +include_directories(${PNG_INCLUDE_DIR}) add_executable(libpng_test libpng_test.cpp) target_link_libraries(libpng_test ${PNG_LIBRARIES})