Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
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
Alchemy Viewer
Alchemy Viewer
Commits
9ed6c4fc
Commit
9ed6c4fc
authored
15 years ago
by
Palmer Truelson
Browse files
Options
Downloads
Patches
Plain Diff
Fix for DEV-35401 that makes the copy linux only and doesn't hurt mac build
To be reviewed by Mani
parent
29607ab7
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/llcommon/CMakeLists.txt
+14
-12
14 additions, 12 deletions
indra/llcommon/CMakeLists.txt
with
14 additions
and
12 deletions
indra/llcommon/CMakeLists.txt
+
14
−
12
View file @
9ed6c4fc
...
@@ -246,18 +246,20 @@ if(LLCOMMON_LINK_SHARED)
...
@@ -246,18 +246,20 @@ if(LLCOMMON_LINK_SHARED)
set_target_properties
(
llcommon PROPERTIES RUNTIME_OUTPUT_DIRECTORY
${
SHARED_LIB_STAGING_DIR
}
)
set_target_properties
(
llcommon PROPERTIES RUNTIME_OUTPUT_DIRECTORY
${
SHARED_LIB_STAGING_DIR
}
)
endif
(
SHARED_LIB_STAGING_DIR
)
endif
(
SHARED_LIB_STAGING_DIR
)
get_target_property
(
LLCOMMON_PATH llcommon LOCATION
)
if
(
LINUX
)
get_filename_component
(
LLCOMMON_FILE
${
LLCOMMON_PATH
}
NAME
)
get_target_property
(
LLCOMMON_PATH llcommon LOCATION
)
add_custom_command
(
get_filename_component
(
LLCOMMON_FILE
${
LLCOMMON_PATH
}
NAME
)
TARGET llcommon POST_BUILD
add_custom_command
(
COMMAND
${
CMAKE_COMMAND
}
TARGET llcommon POST_BUILD
ARGS
COMMAND
${
CMAKE_COMMAND
}
-E
ARGS
copy_if_different
-E
${
LLCOMMON_FILE
}
copy_if_different
${
SHARED_LIB_STAGING_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/
${
LLCOMMON_FILE
}
${
LLCOMMON_FILE
}
COMMENT
"Copying llcommon to the staging folder."
${
SHARED_LIB_STAGING_DIR
}
/
${
CMAKE_CFG_INTDIR
}
/
${
LLCOMMON_FILE
}
)
COMMENT
"Copying llcommon to the staging folder."
)
endif
(
LINUX
)
else
(
LLCOMMON_LINK_SHARED
)
else
(
LLCOMMON_LINK_SHARED
)
add_library
(
llcommon
${
llcommon_SOURCE_FILES
}
)
add_library
(
llcommon
${
llcommon_SOURCE_FILES
}
)
...
...
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