diff --git a/CMakeLists.txt b/CMakeLists.txt index dacd9640..23c36741 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,7 +250,10 @@ if (DRJIT_ENABLE_TESTS) endif() configure_file(drjit-core-config.cmake "${CMAKE_CURRENT_BINARY_DIR}/drjit-core/drjit-core-config.cmake") -install(TARGETS drjit-core EXPORT drjit-core-targets INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +install( + TARGETS drjit-core nanothread + EXPORT drjit-core-targets + INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(DIRECTORY include/drjit-core DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(FILES drjit-core-config.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/drjit-core) install(