Skip to content
Snippets Groups Projects
Commit 721df2e9 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

CMake: fix use of GNUInstallDirs

parent 0d44e991
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,8 @@ set(${PROJECT_NAME}_SOURCES src/success-bin.cc) ...@@ -43,7 +43,8 @@ set(${PROJECT_NAME}_SOURCES src/success-bin.cc)
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SOURCES} add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SOURCES}
${${PROJECT_NAME}_HEADERS}) ${${PROJECT_NAME}_HEADERS})
target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>) target_include_directories(
${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
target_link_libraries(${PROJECT_NAME} hpp-util::hpp-util) target_link_libraries(${PROJECT_NAME} hpp-util::hpp-util)
install( install(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment