diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ab3fd8..2c35c56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,7 @@ function(packageProject) set(wbpvf_extra_args "") if(NOT DEFINED PROJECT_ARCH_INDEPENDENT) get_target_property(target_type "${PROJECT_NAME}" TYPE) - if(TYPE STREQUAL "INTERFACE_LIBRARY") + if(target_type STREQUAL "INTERFACE_LIBRARY") set(PROJECT_ARCH_INDEPENDENT YES) endif() endif()