Hi!
I was told that it's not a bug
http://public.kitware.com/Bug/view.php?id=13588
17.10.2012 14:04, Amine Chadly ?????:
Hi !
Your problem does look like a bug,
Which version of CMake are you using ?
Where do you set the do_scoring variables ? Is it in a higher
CMakeLists.txt ?
Are you sure that the Release configuration that you used is not
considered as one of the *|DEBUG_CONFIGURATIONS ?|*
Kind regards,
On Sun, Oct 14, 2012 at 8:59 PM, Vyacheslav Karamov
<vkara...@yandex.ru <mailto:vkara...@yandex.ru>> wrote:
Hi All!
I've found annoying bug in Cmake 2.8.8 for Linux. I tried to
submit it to Cmake bug tracker, but I couldn't register.
My target which is dynamic library, uses some static libs:
target_link_libraries(${lib_name}
debug ${do_scoring_debug}
optimized ${do_scoring}
)
When I tried to build Release configuration of my library, build
fails because do_scoring_debug == NOTFOUND at that time.
It seems strange to me, because linker doesn't need *Debug*
version of ${do_scoring} when building *Release* version of target.
I've found workaraound
if (NOT do_scoring_debug)
set (do_scoring_debug do_scoring)
endif()
but it seems to strange why should I need it.
___
WBR,
Vyacheslav Karamov.
--
Powered by www.kitware.com <http://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://www.cmake.org/mailman/listinfo/cmake
--
Amine
--
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://www.cmake.org/mailman/listinfo/cmake
--
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://www.cmake.org/mailman/listinfo/cmake