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
Education
Cantor
Commits
445a475f
Commit
445a475f
authored
Feb 08, 2021
by
Laurent Montel
😁
Browse files
Revert this part as it doesn't use ecm
parent
252eff7d
Pipeline
#50168
passed with stage
in 25 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
thirdparty/discount-2.2.6-patched/cmake/CMakeLists.txt
View file @
445a475f
...
...
@@ -176,22 +176,22 @@ if(${PROJECT_NAME}_MAKE_INSTALL)
include
(
GNUInstallDirs
)
if
(
NOT DEFINED CMAKE_INSTALL_CMAKEDIR
)
set
(
CMAKE_INSTALL_CMAKEDIR
"
${
K
D
E_INSTALL_LIBDIR
}
/cmake/
${
_PACKAGE_NAME
}
"
"
${
CMA
KE_INSTALL_LIBDIR
}
/cmake/
${
_PACKAGE_NAME
}
"
CACHE STRING
"CMake packages"
)
endif
()
install
(
FILES
"
${
_ROOT
}
/mkdio.h"
DESTINATION
"
${
K
D
E_INSTALL_INCLUDEDIR
}
"
)
DESTINATION
"
${
CMA
KE_INSTALL_INCLUDEDIR
}
"
)
target_include_directories
(
libmarkdown INTERFACE
$<INSTALL_INTERFACE:
${
K
D
E_INSTALL_INCLUDEDIR
}
>
$<INSTALL_INTERFACE:
${
CMA
KE_INSTALL_INCLUDEDIR
}
>
)
set
(
_TARGETS libmarkdown markdown
)
if
(
${
PROJECT_NAME
}
_INSTALL_SAMPLES
)
list
(
APPEND _TARGETS mkd2html makepage
)
endif
()
install
(
TARGETS
${
_TARGETS
}
EXPORT
${
_PACKAGE_NAME
}
-targets
RUNTIME DESTINATION
"
${
K
D
E_INSTALL_BINDIR
}
"
LIBRARY DESTINATION
"
${
K
D
E_INSTALL_LIBDIR
}
"
ARCHIVE DESTINATION
"
${
K
D
E_INSTALL_LIBDIR
}
"
)
RUNTIME DESTINATION
"
${
CMA
KE_INSTALL_BINDIR
}
"
LIBRARY DESTINATION
"
${
CMA
KE_INSTALL_LIBDIR
}
"
ARCHIVE DESTINATION
"
${
CMA
KE_INSTALL_LIBDIR
}
"
)
install
(
EXPORT
${
_PACKAGE_NAME
}
-targets
NAMESPACE
${
_PACKAGE_NAME
}
::
DESTINATION
"
${
CMAKE_INSTALL_CMAKEDIR
}
"
)
...
...
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