build: simplify cmake macro api
This commit is contained in:
parent
6f1b0aca76
commit
f880bc6659
1 changed files with 2 additions and 3 deletions
|
|
@ -50,15 +50,14 @@ xo_toplevel_compile_options()
|
|||
# ----------------------------------------------------------------
|
||||
# output targets
|
||||
|
||||
set(SELF_SHORTNAME pyutil)
|
||||
set(SELF_LIB xo_${SELF_SHORTNAME})
|
||||
set(SELF_LIB xo_pyutil)
|
||||
xo_add_headeronly_library(${SELF_LIB})
|
||||
#xo_include_headeronly_options2(${SELF_LIB})
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# standard install + provide find_package() support
|
||||
|
||||
xo_install_library5(${SELF_LIB} ${SELF_SHORTNAME} ${PROJECT_NAME}Targets)
|
||||
xo_install_library4(${SELF_LIB} ${PROJECT_NAME}Targets)
|
||||
#xo_install_include_tree()
|
||||
xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue