Skip to content

Commit

Permalink
Correct check for interface libraries (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twon authored Sep 22, 2024
1 parent 1c5e695 commit a080630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/morpheus_add_target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function(morpheus_add_target)
if (NOT MORPHEUS_ALIAS AND MORPHEUS_TYPE STREQUAL library)
message(FATAL_ERROR "ALIAS parameter must be supplied for library targets")
endif()
if (NOT MORPHEUS_INTERFACE AND NOT MORPHEUS_TYPE STREQUAL library)
if (MORPHEUS_INTERFACE AND NOT MORPHEUS_TYPE STREQUAL library)
message(FATAL_ERROR "INTERFACE parameter can only be used with library targets")
endif()
if(${MORPHEUS_INTERFACE})
Expand Down

0 comments on commit a080630

Please sign in to comment.