Establish `api/` as the home for installed headers.
[alexxy/gromacs.git] / src / testutils / CMakeLists.txt
index 5e1c1ad329c173fa377735a5a20d4c2501716197..3dd632ef550fa8c4d3ed269e4d0c012b3a129817 100644 (file)
@@ -81,6 +81,8 @@ if (GMX_GPU_CUDA)
 else()
     add_library(testutils STATIC ${UNITTEST_TARGET_OPTIONS} ${TESTUTILS_SOURCES})
 endif()
+# TODO: Use a non-degenerate interface include directory.
+target_include_directories(testutils PUBLIC ${CMAKE_SOURCE_DIR}/src)
 
 if (GMX_GPU_SYCL)
     set_source_files_properties(test_device.cpp