mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Change include order to prevent warning from GNUInstallDirs (#2132)
CMake >= 3.17 warns that GNUInstallDirs might not work correctly if included before some target details are known. closes #2122
This commit is contained in:
parent
f789337f45
commit
80c2128039
@ -7,7 +7,6 @@ endif()
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
include(DisallowInSource)
|
||||
include(Utils)
|
||||
include(CutterInstallDirs)
|
||||
|
||||
set(CUTTER_PYTHON_MIN 3.5)
|
||||
|
||||
@ -54,6 +53,8 @@ set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Svg Network)
|
||||
|
||||
include(CutterInstallDirs)
|
||||
|
||||
if(CUTTER_USE_BUNDLED_RADARE2)
|
||||
include(BundledRadare2)
|
||||
set(RADARE2_TARGET Radare2)
|
||||
|
Loading…
Reference in New Issue
Block a user