diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b13c51..2f31c61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ install(TARGETS sparta EXPORT sparta_target ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) # This is for Windows -install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sparta) +install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(EXPORT sparta_target DESTINATION cmake)