mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-07 11:59:57 +03:00
Move headers to an include folder
This commit is contained in:
@@ -26,7 +26,7 @@ endif()
|
||||
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS ${QT_COMPONENTS})
|
||||
|
||||
file(GLOB_RECURSE PROJECT_SOURCES
|
||||
src/*.h
|
||||
include/*.h
|
||||
src/*.cpp
|
||||
src/*.ui
|
||||
src/resources.qrc
|
||||
@@ -65,6 +65,8 @@ if(CALL_LUPDATE)
|
||||
add_dependencies(${PROJECT_NAME} update_translations)
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||
PROJECT_VERSION_MAJOR=${${PROJECT_NAME}_VERSION_MAJOR}
|
||||
PROJECT_VERSION_MINOR=${${PROJECT_NAME}_VERSION_MINOR}
|
||||
|
||||
Reference in New Issue
Block a user