summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DevIL/test/UnitTest/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/DevIL/test/UnitTest/CMakeLists.txt b/DevIL/test/UnitTest/CMakeLists.txt
index 1e9ef914..1ec5db90 100644
--- a/DevIL/test/UnitTest/CMakeLists.txt
+++ b/DevIL/test/UnitTest/CMakeLists.txt
@@ -7,6 +7,7 @@ if(CPPUNIT_FOUND)
add_executable(UnitTest EXCLUDE_FROM_ALL ILTest.cpp ILUTest.cpp UnitTest.cpp)
target_include_directories(UnitTest PRIVATE ${cppunit_INCLUDE_DIRECTORIES})
target_link_libraries(UnitTest IL ILU ${CPPUNIT_LIBRARIES})
+ target_include_directories(UnitTest PRIVATE ${DevIL_SOURCE_DIR}/../include)
else()
Message(STATUS "UnitTest disabled, cppunit wasn't found!")
endif()