Edit the file cegui/src/CMakeLists.txt around line 78 to this:
Code: Select all
if (WIN32)
cegui_target_link_libraries(${CEGUI_TARGET_NAME} ${CMAKE_DL_LIBS})
elseif (UNIX AND NOT APPLE)
# This is intentionally not using 'cegui_target_link_libraries'
target_link_libraries(${CEGUI_TARGET_NAME} ${CMAKE_DL_LIBS})
endif()
This line: cegui_target_link_libraries(${CEGUI_TARGET_NAME} ${CMAKE_DL_LIBS}) had something regarding DbgHelp before I changed it. I couldn't tell you what it was but it shouldn't be too hard to find. I found it by doing a "Search in Files..." in CodeBlocks and looking for "DbgHelp" in all project files.