Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake debug project

CMake function file(GET_RUNTIME_DEPENDENCIES) seems to ignore libraries sometimes.

In this project, the CMake option USE_TEXT_CODECS determines if the executable will use the text codecs available in Qt::Core5Compat library. But this library is unconditionally linked to the executable, so it is needed by the runtime linker and the execution will fail if it is not available at runtime.

When this option USE_TEXT_CODECS is OFF the funtion file(GET_RUNTIME_DEPENDENCIES) omits the Qt::Core5Compat library.

About

CMake function file(GET_RUNTIME_DEPENDENCIES)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages