Skip to content

Commit

Permalink
Merge pull request NREL#13 from rafmudaf/master
Browse files Browse the repository at this point in the history
Add CMake install location for libraries
  • Loading branch information
nikhar-abbas authored Jul 6, 2020
2 parents 10bbbfb + 1107249 commit 47a1344
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ set(SOURCES
)

add_library(discon SHARED ${SOURCES})

install(TARGETS discon
EXPORT "${CMAKE_PROJECT_NAME}Libraries"
RUNTIME DESTINATION lib
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)

0 comments on commit 47a1344

Please sign in to comment.