On 02/07/2013 01:40 PM, Stephen Kelly wrote:
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fecede0d9012f78470778cb049b2ab0231b4dcb7
> +     "If this variable is enabled, CMake automatically adds for each shared "
> +     "library target, module target and executable target, "
> +     "${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} to the "
> +     "INTERFACE_INCLUDE_DIRECTORIES."
...
> +  if(this->GetType() != cmTarget::SHARED_LIBRARY &&
> +     this->GetType() != cmTarget::MODULE_LIBRARY &&
> +     !this->IsExecutableWithExports())
> +    {
> +    return;
> +    }

Doesn't INTERFACE_INCLUDE_DIRECTORIES still make sense for static libs?

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to