MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0012188 | CMake | Modules | public | 2011-05-13 11:23 | 2012-01-19 09:59 | |||||
Reporter | sutasu | |||||||||
Assigned To | Philip Lowman | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | x86 | OS | ubuntu | OS Version | 11.04 | |||||
Product Version | CMake 2.8.4 | |||||||||
Target Version | CMake 2.8.5 | Fixed in Version | CMake 2.8.5 | |||||||
Summary | 0012188: FindBoost: ${Boost_LIBRARIES} contains extra 'optimized' and 'debug' key words making impossible install | |||||||||
Description | 'optimized' and 'debug' key words are present in ${Boost_LIBRARIES} variable making impossible to use it in install command | |||||||||
Steps To Reproduce | Following test case fails: cmake_minimum_required(VERSION 2.6) project( test ) set (Boost_REALPATH "1") find_package(Boost REQUIRED system date_time filesystem thread regex) message("${Boost_LIBRARIES}") add_executable (test test.cpp ) target_link_libraries (test ${Boost_LIBRARIES} ) install ( FILES ${Boost_LIBRARIES} DESTINATION bin ) install ( TARGETS test DESTINATION bin ) include (CPack) $ cmake .. -DCMAKE_BUILD_TYPE=Release -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Boost version: 1.42.0 -- Found the following Boost libraries: -- system -- date_time -- filesystem -- thread -- regex optimized;/usr/lib/libboost_system.so.1.42.0;debug;/usr/lib/libboost_system.so.1 .42.0;optimized;/usr/lib/libboost_date_time.so.1.42.0;debug;/usr/lib/libboost_da te_time.so.1.42.0;optimized;/usr/lib/libboost_filesystem.so.1.42.0;debug;/usr/li b/libboost_filesystem.so.1.42.0;optimized;/usr/lib/libboost_thread.so.1.42.0;deb ug;/usr/lib/libboost_thread.so.1.42.0;optimized;/usr/lib/libboost_regex.so.1.42. 0;debug;/usr/lib/libboost_regex.so.1.42.0 -- Configuring done -- Generating done -- Build files have been written to: /home/stanislav/cmake_test/build $ make Scanning dependencies of target test [100%] Building CXX object CMakeFiles/test.dir/test.cpp.o Linking CXX executable test [100%] Built target test $ cpack -G TGZ CPackConfig.cmake CPack: Create package using TGZ CPack: Install projects CPack: - Run preinstall target for: test CPack: - Install project: test CMake Error at /home/stanislav/cmake_test/build/cmake_install.cmake:36 (FILE): file INSTALL cannot find "/home/stanislav/cmake_test/optimized". CPack Error: Error when generating package: test | |||||||||
Additional Information | test case attached | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ![]() https://public.kitware.com/Bug/file/3872/tst.tgz ![]() https://public.kitware.com/Bug/file/3899/FindBoost.cmake | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2011-05-13 11:23 | sutasu | New Issue | ||||||||
2011-05-13 11:23 | sutasu | File Added: tst.tgz | ||||||||
2011-05-26 00:57 | Philip Lowman | Assigned To | => Philip Lowman | |||||||
2011-05-26 00:57 | Philip Lowman | Status | new => assigned | |||||||
2011-05-26 01:30 | Philip Lowman | File Added: FindBoost.cmake | ||||||||
2011-05-26 01:34 | Philip Lowman | Note Added: 0026612 | ||||||||
2011-05-26 10:34 | sutasu | Note Added: 0026618 | ||||||||
2011-06-15 08:29 | Philip Lowman | Priority | high => normal | |||||||
2011-06-15 08:29 | Philip Lowman | Severity | major => minor | |||||||
2011-06-15 08:29 | Philip Lowman | Status | assigned => resolved | |||||||
2011-06-15 08:29 | Philip Lowman | Resolution | open => fixed | |||||||
2011-06-15 08:29 | Philip Lowman | Fixed in Version | => CMake 2.8.5 | |||||||
2011-06-15 08:29 | Philip Lowman | Target Version | => CMake 2.8.5 | |||||||
2011-11-11 10:45 | David Cole | Note Added: 0027765 | ||||||||
2011-11-11 10:45 | David Cole | Status | resolved => closed | |||||||
2012-01-19 09:59 | Brad King | Relationship added | related to 0012887 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|