Commit 3102b477 authored by patrick pereira's avatar patrick pereira 🏃

CMakeLists: Fix bfd.h include path on windows

Summary: Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>

Reviewers: davidedmundson, tcanabrava, ngraham

Reviewed By: tcanabrava

Subscribers: mart, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18801
parent e01d73c3
......@@ -67,6 +67,8 @@ if (MINGW)
# bfd header requires this to be defined
INTERFACE_COMPILE_DEFINITIONS "PACKAGE;PACKAGE_VERSION"
)
find_path(BFD_INCLUDE_DIR bfd.h)
include_directories(${BFD_INCLUDE_DIR})
endif()
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment