diff options
Diffstat (limited to 'cmake/Modules/CMakeMacroLibtoolFile.cmake')
-rw-r--r-- | cmake/Modules/CMakeMacroLibtoolFile.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/Modules/CMakeMacroLibtoolFile.cmake b/cmake/Modules/CMakeMacroLibtoolFile.cmake index 1a3ab7cc..9d04ef56 100644 --- a/cmake/Modules/CMakeMacroLibtoolFile.cmake +++ b/cmake/Modules/CMakeMacroLibtoolFile.cmake @@ -43,8 +43,7 @@ macro(libtool_create_control_file _target) else() # No shared library extension matched. Check whether target is a CMake # target. - get_target_property(_ltp ${library} TYPE) - if(_ltp OR ${library} STREQUAL "general") + if(TARGET ${library}) # Target is a CMake target, so ignore (CMake targets are static # libs in TigerVNC.) elseif(${library} STREQUAL "-Wl,-Bstatic") |