Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
gflags
Commits
80ebb424
Commit
80ebb424
authored
May 11, 2017
by
Arkady Shapkin
Committed by
Andreas Schuh
May 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install dll's to correct path (#213)
parent
652651b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
CMakeLists.txt
CMakeLists.txt
+14
-6
No files found.
CMakeLists.txt
View file @
80ebb424
...
...
@@ -396,10 +396,10 @@ endif ()
# ----------------------------------------------------------------------------
# installation directories
if
(
OS_WINDOWS
)
set
(
RUNTIME_INSTALL_DIR
Bin
)
set
(
LIBRARY_INSTALL_DIR
Lib
)
set
(
INCLUDE_INSTALL_DIR
Include
)
set
(
CONFIG_INSTALL_DIR
CMake
)
set
(
RUNTIME_INSTALL_DIR
"bin"
)
set
(
LIBRARY_INSTALL_DIR
"lib"
)
set
(
INCLUDE_INSTALL_DIR
"include"
)
set
(
CONFIG_INSTALL_DIR
"lib/cmake/
${
PACKAGE_NAME
}
"
)
set
(
PKGCONFIG_INSTALL_DIR
)
else
()
set
(
RUNTIME_INSTALL_DIR bin
)
...
...
@@ -500,14 +500,22 @@ configure_file (cmake/version.cmake.in "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-co
if
(
BUILD_SHARED_LIBS AND INSTALL_SHARED_LIBS
)
foreach
(
opts IN ITEMS
""
_nothreads
)
if
(
BUILD_gflags
${
opts
}
_LIB
)
install
(
TARGETS gflags
${
opts
}
_shared DESTINATION
${
LIBRARY_INSTALL_DIR
}
EXPORT
${
EXPORT_NAME
}
)
install
(
TARGETS gflags
${
opts
}
_shared
EXPORT
${
EXPORT_NAME
}
RUNTIME DESTINATION
${
RUNTIME_INSTALL_DIR
}
LIBRARY DESTINATION
${
LIBRARY_INSTALL_DIR
}
ARCHIVE DESTINATION
${
LIBRARY_INSTALL_DIR
}
)
endif
()
endforeach
()
endif
()
if
(
BUILD_STATIC_LIBS AND INSTALL_STATIC_LIBS
)
foreach
(
opts IN ITEMS
""
_nothreads
)
if
(
BUILD_gflags
${
opts
}
_LIB
)
install
(
TARGETS gflags
${
opts
}
_static DESTINATION
${
LIBRARY_INSTALL_DIR
}
EXPORT
${
EXPORT_NAME
}
)
install
(
TARGETS gflags
${
opts
}
_static
EXPORT
${
EXPORT_NAME
}
RUNTIME DESTINATION
${
RUNTIME_INSTALL_DIR
}
LIBRARY DESTINATION
${
LIBRARY_INSTALL_DIR
}
ARCHIVE DESTINATION
${
LIBRARY_INSTALL_DIR
}
)
endif
()
endforeach
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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