Skip to content

Commit

Permalink
Install all relevant headers, not just from include dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jun 17, 2024
1 parent 7717c7c commit 9861c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,6 @@ endif()

target_include_directories("${PROJECT_NAME}" PUBLIC ${OPENLIBM_INCLUDE_DIRS})

file(GLOB PUBLIC_HEADERS "include/*.h")
file(GLOB PUBLIC_HEADERS "*.h" "include/*.h" "${OPENLIBM_ARCH_FOLDER}/*.h" "src/*.h")
set_target_properties("${PROJECT_NAME}" PROPERTIES PUBLIC_HEADER "${PUBLIC_HEADERS}")
install (TARGETS "${PROJECT_NAME}")

0 comments on commit 9861c6f

Please sign in to comment.