FindPhonon doesn't work on windows
Bug #1226862 reported by
Philip
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Brewtarget |
Fix Released
|
Medium
|
Maxime Lavigne |
Bug Description
When running CMake on Windows, FindPhonon.cmake can't find Phonon:
Found Qt4: C:/Qt/4.
CMAKE_SYSTEM_
Phonon library NOT found!
CMake Error at cmake/modules/
Phonon library or includes NOT found!
Call Stack (most recent call first):
CMakeLists.
In my case, it's at c:\Qt\4.
Changed in brewtarget: | |
milestone: | 2.0.3 → 2.1.0 |
Changed in brewtarget: | |
status: | Fix Committed → Fix Released |
Changed in brewtarget: | |
milestone: | 2.1.0 → 2.0.3 |
To post a comment you must log in.
The fix is to change 2 lines in cmake/modules/ FindPhonon. cmake. The change adds 'phonon4' to the list of names that the find_library() call looks for.
34: find_library( PHONON_ LIBRARY NAMES phonon phonon4 PATHS ${KDE4_ LIB_INSTALL_ DIR} ${QT_LIBRARY_DIR} NO_SYSTEM_ ENVIRONMENT_ PATH NO_CMAKE_ SYSTEM_ PATH)
37: find_library( PHONON_ LIBRARY NAMES phonon phonon4)