mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-12-26 23:41:32 +08:00
Add an option to disable Doxygen
This commit is contained in:
parent
8f0a1ccc98
commit
4a9b28e0b9
@ -29,7 +29,11 @@ else()
|
||||
endif()
|
||||
|
||||
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} COMPONENTS ${QT_COMPONENTS} REQUIRED)
|
||||
find_package(Doxygen)
|
||||
|
||||
option(SINGLEAPPLICATION_DOCUMENTATION "Generate Doxygen documentation" ON)
|
||||
if(SINGLEAPPLICATION_DOCUMENTATION)
|
||||
find_package(Doxygen)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${QT_LIBRARIES})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user