Skip to content

Commit

Permalink
use local target for genex
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwparent committed Oct 10, 2024
1 parent 5232807 commit d2d7b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blosc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ if(NOT DEACTIVATE_LZ4)
# type of the LZ4 library
set(LIBS
${LIBS}
$<$<STREQUAL:$<TARGET_PROPERTY:Foo,TYPE>,SHARED_LIBRARY>:LZ4::lz4_shared>
$<$<NOT:$<STREQUAL:$<TARGET_PROPERTY:Foo,TYPE>,SHARED_LIBRARY>>:LZ4::lz4_static>
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>:LZ4::lz4_shared>
$<$<NOT:$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>>:LZ4::lz4_static>
)
elseif(SHARED_LIBS OR STATIC_LIBS)
if(SHARED_LIBS)
Expand Down

0 comments on commit d2d7b5d

Please sign in to comment.