Убран путь к заголовочным файлам
This commit is contained in:
parent
8d42f55508
commit
5a6bef4529
@ -30,13 +30,13 @@ function(common_target_properties Name)
|
||||
endif()
|
||||
if(TARGET Qt5::Widgets)
|
||||
set_target_properties(${Name} PROPERTIES AUTOUIC TRUE)
|
||||
if(CMAKE_VERSION VERSION_LESS 3.7.99)
|
||||
target_include_directories(
|
||||
${Name}
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/${Name}_autogen/include>
|
||||
)
|
||||
endif()
|
||||
# if(CMAKE_VERSION VERSION_LESS 3.7.99)
|
||||
# target_include_directories(
|
||||
# ${Name}
|
||||
# PUBLIC
|
||||
# $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/${Name}_autogen/include>
|
||||
# )
|
||||
# endif()
|
||||
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