Skip to content

Commit

Permalink
Merge pull request #40 from tkuhlengel/master
Browse files Browse the repository at this point in the history
Replacing CMake variable with the correct target name variable
  • Loading branch information
chitalu committed Feb 20, 2024
2 parents 047d75f + a5a7a16 commit b5b0ec6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,18 +260,18 @@ if(MCUT_BUILD_AS_SHARED_LIB)
# dynamic libs
#

install(TARGETS ${mpn_shared_lib_name}
install(TARGETS ${target_name}
LIBRARY
DESTINATION lib/shared
DESTINATION lib/
COMPONENT dynamic_libraries)
else()
#
# static libs
#

install(TARGETS ${mpn_static_lib_name}
install(TARGETS ${target_name}
ARCHIVE
DESTINATION lib/static
DESTINATION lib/
COMPONENT static_libraries)
endif()

Expand Down Expand Up @@ -372,4 +372,4 @@ set (CPACK_STRIP_FILES TRUE)

include(CPack)

# eof
# eof

0 comments on commit b5b0ec6

Please sign in to comment.