diff --git a/CMakeLists.txt b/CMakeLists.txt index a909bab96..7208ef1e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,9 @@ if(PROJECT_IS_TOP_LEVEL) option(BOX2D_PROFILE "Enable profiling with Tracy" OFF) option(BOX2D_VALIDATE "Enable heavy validation" ON) option(BOX2D_UNIT_TESTS "Build the Box2D unit tests" ON) + + include(GNUInstallDirs) + install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") if(MSVC AND WIN32) # Enable edit and continue only in debug due to perf hit in release