Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mlz
Steca
Commits
0e00795b
Commit
0e00795b
authored
Jan 24, 2019
by
Wuttke, Joachim
Browse files
out-if "install" in libcerf
parent
a1849239
Changes
2
Hide whitespace changes
Inline
Side-by-side
3rdparty/libcerf/CMakeLists.txt
View file @
0e00795b
...
...
@@ -42,11 +42,12 @@ endif()
include
(
CTest
)
set
(
destination
${
CMAKE_INSTALL_PREFIX
}
)
configure_file
(
"libcerf.pc.in"
"libcerf.pc"
@ONLY
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libcerf.pc"
DESTINATION
"
${
destination
}
/lib/pkgconfig/"
)
if
(
LIB_INSTALL
)
set
(
destination
${
CMAKE_INSTALL_PREFIX
}
)
configure_file
(
"libcerf.pc.in"
"libcerf.pc"
@ONLY
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libcerf.pc"
DESTINATION
"
${
destination
}
/lib/pkgconfig/"
)
endif
()
add_subdirectory
(
lib
)
add_subdirectory
(
run
)
...
...
3rdparty/libcerf/lib/CMakeLists.txt
View file @
0e00795b
...
...
@@ -32,7 +32,7 @@ if(NOT MSVC)
target_link_libraries
(
${
lib
}
m
)
endif
()
if
(
${
LIB_INSTALL
}
)
if
(
LIB_INSTALL
)
install
(
TARGETS
${
lib
}
LIBRARY
DESTINATION
${
destination
}
/lib
...
...
Write
Preview
Supports
Markdown
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