Путь к автоматически генерируемым заголовочным файлам
This commit is contained in:
parent
4164852959
commit
b98eb26b32
@ -29,6 +29,8 @@ function(common_target_properties Name)
|
||||
endif()
|
||||
if(TARGET Qt5::Widgets)
|
||||
set_target_properties(${Name} PROPERTIES AUTOUIC TRUE)
|
||||
target_include_directories(${Name} PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}_autogen/include>)
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_IS_GCC AND NOT APPLE)
|
||||
set_target_properties(${Name} PROPERTIES LINK_FLAGS "-Wl,--no-as-needed")
|
||||
|
Loading…
Reference in New Issue
Block a user