1
0
Fork 0

Move FGQCanvas install command

This keeps standalone FGQCanvas build working.
This commit is contained in:
James Turner 2017-01-31 17:16:03 +01:00
parent 8f7c0d6801
commit 40fbebb777
2 changed files with 3 additions and 2 deletions

View file

@ -37,4 +37,7 @@ endif()
if (ENABLE_FGQCANVAS) if (ENABLE_FGQCANVAS)
add_subdirectory(fgqcanvas) add_subdirectory(fgqcanvas)
# do this here so standalone build of FGQCanvas works
install(TARGETS fgqcanvas RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif() endif()

View file

@ -55,5 +55,3 @@ target_include_directories(fgqcanvas PRIVATE ${PROJECT_SOURCE_DIR})
# so ui_foo.h files are found # so ui_foo.h files are found
target_include_directories(fgqcanvas PRIVATE ${PROJECT_BINARY_DIR}) target_include_directories(fgqcanvas PRIVATE ${PROJECT_BINARY_DIR})
install(TARGETS fgqcanvas RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})