Stephen Kelly wrote:
> if ("${CMAKE_C_COMPILER_ID} ${CMAKE_CXX_COMPILER_ID}" MATCHES SunPro)
> list(APPEND additional_INCLUDE_DIRECTORIES "/bar/some_sunpro_hack")
> endif ()
>
Oops. Obviously I should have has a
set_property(TARGET ${_target}
APPEND PROPERTY
INCLUDE_DIRECTORIES ${additional_INCLUDE_DIRECTORIES}
)
or
set_property(TARGET ${_target}
PROPERTY
INCLUDE_DIRECTORIES ${additional_INCLUDE_DIRECTORIES}
)
somewhere in the list of commands there.
Thanks,
Steve.
--
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