mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Tests/CMakeGUI: Place test executable in main bin directory
`cmSystemTools::FindCMakeResources` needs this to find the main `cmake` executable. Previously `FindCMakeResourcesInBuildTree` was finding the rest of the resources by accident because `Tests/CMakeGUI` has the same number of components as `bin/<config>`.
This commit is contained in:
@@ -50,6 +50,7 @@ else()
|
||||
)
|
||||
endif()
|
||||
add_executable(CMakeGUITest CMakeGUITest.cxx ${MOC_SRCS})
|
||||
set_property(TARGET CMakeGUITest PROPERTY RUNTIME_OUTPUT_DIRECTORY "${CMake_BIN_DIR}")
|
||||
target_link_libraries(CMakeGUITest CMakeGUIMainLib CMakeGUITestLib
|
||||
Qt${CMake_QT_MAJOR_VERSION}::Core
|
||||
Qt${CMake_QT_MAJOR_VERSION}::Test
|
||||
|
||||
Reference in New Issue
Block a user