Skip to content

Commit

Permalink
revise CMakeLists.txt to enable SZ to be compiled on Cray systems suc…
Browse files Browse the repository at this point in the history
…h as Cori by cmake
  • Loading branch information
Sheng Di committed Mar 25, 2019
1 parent 11636b4 commit b66ed3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions sz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ target_compile_options(SZ
PRIVATE $<$<CONFIG:Debug>:-O3 -Wall -Wextra -Wpedantic -Wno-unused-parameter>
)

install (TARGETS SZ LIBRARY DESTINATION lib)

install (TARGETS SZ LIBRARY DESTINATION lib ARCHIVE DESTINATION lib )
2 changes: 1 addition & 1 deletion zlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ aux_source_directory(. zlib_sources)
add_library (zlib SHARED ${zlib_sources})
target_link_libraries (zlib ${zlib_dependencies})

install (TARGETS zlib LIBRARY DESTINATION lib)
install (TARGETS zlib LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
2 changes: 1 addition & 1 deletion zstd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ set(zstd_sources
add_library (zstd SHARED ${zstd_sources})
target_link_libraries (zstd ${zstd_dependencies})

install (TARGETS zstd LIBRARY DESTINATION lib)
install (TARGETS zstd LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)

0 comments on commit b66ed3e

Please sign in to comment.