Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenFlipper
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenFlipper-Free
OpenFlipper
Commits
09829c8b
Commit
09829c8b
authored
6 years ago
by
Jan Möbius
Browse files
Options
Downloads
Patches
Plain Diff
Messed it up
parent
f46f8b8d
No related branches found
No related tags found
1 merge request
!123
Enable autouic
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/type.cmake
+10
-4
10 additions, 4 deletions
cmake/type.cmake
with
10 additions
and
4 deletions
cmake/type.cmake
+
10
−
4
View file @
09829c8b
...
...
@@ -64,11 +64,17 @@ acg_drop_templates (sources)
acg_add_library
(
${
TYPENAME
}
SHARED
${
ui
}
${
sources
}
${
headers
}
)
set_target_properties
(
${
TYPENAME
}
PROPERTIES MACOSX_RPATH 0
)
if
(
NOT WIN32
)
# Allow targets depending on ACG find the autogenerated header files
target_include_directories
(
${
TYPENAME
}
PUBLIC
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
TYPENAME
}
_autogen/include
)
else
()
# Allow targets depending on the current type find the autogenerated header files from uic
target_include_directories
(
${
TYPENAME
}
PUBLIC
$<$<CONFIG:Debug>:
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
TYPENAME
}
_autogen/include_Debug/>
$<$<CONFIG:Release>:
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
TYPENAME
}
_autogen/include_Release/>
)
endif
()
add_dependencies
(
${
TYPENAME
}
OpenMeshCore OpenMeshTools ACG OpenFlipperPluginLib
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment