Move FGQCanvas install command
This keeps standalone FGQCanvas build working.
This commit is contained in:
parent
8f7c0d6801
commit
40fbebb777
2 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||||
|
|
|
@ -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})
|
|
Loading…
Reference in a new issue