Re: [CMake] Finding debug Qt libraries without CMAKE_BUILD_TYPE set to None

2015-10-23 Thread Tom Kacvinsky
Here is what I tried for Qt4 (that is what I am using), using cmake 3.3.2 on Windows 7 find_package(Qt4 4.8.5 REQUIRED QtCore QtGui QtXml Qt3Support QtWebKit QtSql QtSvg QtNetwork QAxContainer) set_target_properties(Qt4::QtCore PROPERTIES MAP_IMPORTED_CONFIG_COVERAGE "DEBUG")

Re: [CMake] Finding debug Qt libraries without CMAKE_BUILD_TYPE set to None

2015-10-23 Thread Tom Kacvinsky
That was it, I had to replace MAP_IMPORTED_CONFIG_COVERAGE with MAP_IMPORTED_CONFIG_NONE as I have set(CMAKE_BUILD_TYPE NONE) I hope this is useful to others. On Fri, Oct 23, 2015 at 9:38 AM, Tom Kacvinsky wrote: > Here is what I tried for Qt4 (that

[CMake] Finding debug Qt libraries without CMAKE_BUILD_TYPE set to None

2015-10-22 Thread Tom Kacvinsky
I have need to find the debug version of Qt libraries. From the documentation I read, the libraries found are based on the CMAKE_BUILD_TYPE vale. So it it is set to Release, the release versions are found, and if set to DEBUG, the debug versions are found. Unfortunately, due to use of Ada