Skip to content

Commit

Permalink
Merge pull request #154 from tierra-colada/master
Browse files Browse the repository at this point in the history
Add `units_export.h` to `install/insclude/units` dir #153
  • Loading branch information
phlptp committed Aug 12, 2021
2 parents e12c4a1 + 1540c9a commit db614a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions units/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,7 @@ endif(UNITS_HEADER_ONLY)

if(UNITS_INSTALL AND NOT UNITS_BINARY_ONLY_INSTALL)
install(FILES ${units_header_files} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
if(UNITS_BUILD_SHARED_LIBRARY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/units_export.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/units)
endif()
endif()

0 comments on commit db614a5

Please sign in to comment.