Skip to content

Commit

Permalink
Fix cmake generator evaluation (#5435) (#5452)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <[email protected]>
(cherry picked from commit dbb87b7)

Co-authored-by: Mario Domínguez López <[email protected]>
  • Loading branch information
mergify[bot] and Mario-DL authored Dec 9, 2024
1 parent 705df01 commit b0e1c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ target_compile_definitions(${PROJECT_NAME}
INTERFACE
$<$<BOOL:${WIN32}>:${PROJECT_NAME_UPPER}_NO_LIB>
PUBLIC
$<$<STREQUAL:$<TARGET_PROPERTY:${PROJECT_NAME},TYPE>,SHARED_LIBRARY>:${PROJECT_NAME_UPPER}_DYN_LINK>
$<$<TARGET_EXISTS:${PROJECT_NAME}>:$<$<STREQUAL:$<TARGET_PROPERTY:${PROJECT_NAME},TYPE>,SHARED_LIBRARY>:${PROJECT_NAME_UPPER}_DYN_LINK>>
)

# Define public headers
Expand Down

0 comments on commit b0e1c69

Please sign in to comment.