Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
cf89ed29
Commit
cf89ed29
authored
Jan 10, 2019
by
Jan Möbius
Browse files
Use generator expressions to correct include path on windows for uic autogen
parent
41b52e0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs_required/ACG/CMakeLists.txt
View file @
cf89ed29
...
...
@@ -137,9 +137,16 @@ acg_print_configure_header (ACG "ACG")
RECURSE_GROUPS
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
# Allow targets depending on ACG find the autogenerated header files
target_include_directories
(
ACG PUBLIC
${
CMAKE_CURRENT_BINARY_DIR
}
/ACG_autogen/include
)
if
(
NOT WIN32
)
# Allow targets depending on ACG find the autogenerated header files
target_include_directories
(
ACG PUBLIC
${
CMAKE_CURRENT_BINARY_DIR
}
/ACG_autogen/include
)
else
()
# Allow targets depending on ACG find the autogenerated header files
target_include_directories
(
ACG PUBLIC
$<$<CONFIG:Debug>:
${
CMAKE_CURRENT_BINARY_DIR
}
/ACG_autogen/include_Debug/>
$<$<CONFIG:Release>:
${
CMAKE_CURRENT_BINARY_DIR
}
/ACG_autogen/include_Release/>
)
endif
()
target_link_libraries
(
ACG
${
OPENMESH_LIBRARIES
}
${
QT_LIBRARIES
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment