Skip to content

Commit

Permalink
Fix installation
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
  • Loading branch information
mjcarroll committed Jan 29, 2024
1 parent 861f355 commit 2ec0c07
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/gz/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ if (QT_MAJOR_VERSION EQUAL 6)
"${GZ_CMAKE_DIR}/Export.hh.in"
"${PROJECT_BINARY_DIR}/include/gz/gui/Export.hh")

install(
FILES "${PROJECT_BINARY_DIR}/include/gz/gui/Export.hh"
DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL}/Export.hh
COMPONENT headers)

install(
FILES "${PROJECT_BINARY_DIR}/include/gz/gui/detail/Export.hh"
DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL}/detail/Export.hh
COMPONENT headers)

target_include_directories(${PROJECT_LIBRARY_TARGET_NAME}
PUBLIC
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
Expand Down
6 changes: 6 additions & 0 deletions src/Application_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ class ApplicationTest: public ::testing::Test
//////////////////////////////////////////////////
TEST_F(ApplicationTest, GZ_UTILS_TEST_ENABLED_ONLY_ON_LINUX(Constructor))
{

QDirIterator it(":", QDirIterator::Subdirectories);
while (it.hasNext()) {
std::cout << it.next().toStdString() << "\n";
}

// One app construct - destruct
{
Application app(g_argc, g_argv);
Expand Down

0 comments on commit 2ec0c07

Please sign in to comment.