Commit 3de05b0c authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Merge branch 'ExecutableSystemInclude-master-20220422' into 'master'

Executable System Includes, master branch (2022.04.22.)

Closes ATEAM-826

See merge request !946
parents 20aa17b3 f137b916
Pipeline #3879758 passed with stage
in 93 minutes and 20 seconds
......@@ -762,9 +762,12 @@ function( atlas_add_executable exeName )
add_dependencies( Package_${pkgName} ${exeName} )
set_property( TARGET ${exeName} PROPERTY LABELS ${pkgName} )
set_property( TARGET ${exeName} PROPERTY FOLDER ${pkgDir} )
if( ARG_INCLUDE_DIRS )
target_include_directories( ${exeName} SYSTEM BEFORE PRIVATE
${ARG_INCLUDE_DIRS} )
endif()
target_include_directories( ${exeName} BEFORE PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
${ARG_INCLUDE_DIRS} )
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> )
if( ARG_LINK_LIBRARIES )
target_link_libraries( ${exeName} PRIVATE ${ARG_LINK_LIBRARIES} )
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment