Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
79a24d5d
Commit
79a24d5d
authored
12 years ago
by
Oz Linden
Browse files
Options
Downloads
Plain Diff
merge changes for wolf-318
parents
92ae8c84
b18d2148
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/cmake/Linking.cmake
+9
-2
9 additions, 2 deletions
indra/cmake/Linking.cmake
with
9 additions
and
2 deletions
indra/cmake/Linking.cmake
+
9
−
2
View file @
79a24d5d
...
...
@@ -13,7 +13,7 @@ elseif (LINUX)
set
(
EXE_STAGING_DIR
${
CMAKE_BINARY_DIR
}
/sharedlibs/bin
)
elseif
(
DARWIN
)
set
(
SHARED_LIB_STAGING_DIR
${
CMAKE_BINARY_DIR
}
/sharedlibs
)
set
(
EXE_STAGING_DIR
"
${
CMAKE_BINARY_DIR
}
/sharedlibs
/
\$
(CONFIGURATION)
"
)
set
(
EXE_STAGING_DIR
"
${
CMAKE_BINARY_DIR
}
/sharedlibs"
)
endif
(
WINDOWS
)
# Autobuild packages must provide 'release' versions of libraries, but may provide versions for
...
...
@@ -33,7 +33,14 @@ else(WINDOWS OR DARWIN)
set
(
AUTOBUILD_LIBS_INSTALL_DIRS
${
AUTOBUILD_INSTALL_DIR
}
/lib/
${
CMAKE_BUILD_TYPE_LOWER
}
)
endif
(
WINDOWS OR DARWIN
)
list
(
APPEND AUTOBUILD_LIBS_INSTALL_DIRS
${
ARCH_PREBUILT_DIRS_RELEASE
}
)
if
(
NOT
"
${
CMAKE_BUILD_TYPE
}
"
STREQUAL
"Release"
)
# When we're building something other than Release, append the
# packages/lib/release directory to deal with autobuild packages that don't
# provide (e.g.) lib/debug libraries.
list
(
APPEND AUTOBUILD_LIBS_INSTALL_DIRS
${
ARCH_PREBUILT_DIRS_RELEASE
}
)
message
(
STATUS
"CMAKE_BUILD_TYPE =
${
CMAKE_BUILD_TYPE
}
, extending AUTOBUILD_LIBS_INSTALL_DIRS"
)
endif
(
NOT
"
${
CMAKE_BUILD_TYPE
}
"
STREQUAL
"Release"
)
message
(
STATUS
"For
${
CMAKE_BUILD_TYPE
}
, AUTOBUILD_LIBS_INSTALL_DIRS:
${
AUTOBUILD_LIBS_INSTALL_DIRS
}
"
)
link_directories
(
${
AUTOBUILD_LIBS_INSTALL_DIRS
}
)
if
(
LINUX
)
...
...
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