diff options
Diffstat (limited to 'examples/uinotification')
| -rw-r--r-- | examples/uinotification/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/uinotification/CMakeLists.txt b/examples/uinotification/CMakeLists.txt index 6af09269..3dbf3c72 100644 --- a/examples/uinotification/CMakeLists.txt +++ b/examples/uinotification/CMakeLists.txt @@ -2,12 +2,15 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(uinotification) +find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED) + file(GLOB SOURCES *.cpp *.h) add_library(uinotification SHARED ${SOURCES}) -target_link_libraries(uinotification binaryninjaapi binaryninjaui) +target_link_libraries(uinotification binaryninjaapi binaryninjaui + Qt5::Core Qt5::Gui Qt5::Widgets) set_target_properties(uinotification PROPERTIES CXX_STANDARD 17 @@ -15,7 +18,7 @@ set_target_properties(uinotification PROPERTIES CXX_STANDARD_REQUIRED ON VISIBILITY_INLINES_HIDDEN ON POSITION_INDEPENDENT_CODE ON - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../bin) + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out/bin) if(BN_INTERNAL_BUILD) ui_plugin_rpath(uinotification) |
