zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #02472
[Merge] lp:~zorba-coders/zorba/fix-core-install into lp:zorba
Chris Hillery has proposed merging lp:~zorba-coders/zorba/fix-core-install into lp:zorba.
Requested reviews:
Chris Hillery (ceejatec)
Matthias Brantner (matthias-brantner)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-core-install/+merge/84179
--
https://code.launchpad.net/~zorba-coders/zorba/fix-core-install/+merge/84179
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'cmake_modules/ZorbaModule.cmake'
--- cmake_modules/ZorbaModule.cmake 2011-12-01 21:36:55 +0000
+++ cmake_modules/ZorbaModule.cmake 2011-12-01 21:48:29 +0000
@@ -272,12 +272,12 @@
IF(NOT ${PROJECT_NAME} STREQUAL "zorba")
STRING(REPLACE "-" "_" component_name ${PROJECT_NAME})
INSTALL(TARGETS ${module_lib_target}
- ${target_type} DESTINATION ${ZORBA_CORE_LIB_DIR}/${module_path}
+ ${target_type} DESTINATION ${ZORBA_NONCORE_LIB_DIR}/${module_path}
COMPONENT ${component_name})
ELSE(NOT ${PROJECT_NAME} STREQUAL "zorba")
INSTALL(TARGETS ${module_lib_target}
- ${target_type} DESTINATION ${ZORBA_NONCORE_LIB_DIR}/${module_path})
+ ${target_type} DESTINATION ${ZORBA_CORE_LIB_DIR}/${module_path})
ENDIF(NOT ${PROJECT_NAME} STREQUAL "zorba")
ENDIF (NOT MODULE_TEST_ONLY)
@@ -427,7 +427,7 @@
IF(NOT _is_core)
STRING(REPLACE "-" "_" component_name ${PROJECT_NAME})
INSTALL (FILES "${INPUT_FILE}"
- DESTINATION "${ZORBA_CORE_URI_DIR}/${_output_path}"
+ DESTINATION "${ZORBA_NONCORE_URI_DIR}/${_output_path}"
RENAME "${_output_filename}"
COMPONENT "${component_name}")
@@ -447,11 +447,9 @@
ELSE(NOT _is_core)
INSTALL (FILES "${INPUT_FILE}"
- DESTINATION "${ZORBA_NONCORE_URI_DIR}/${_output_path}"
+ DESTINATION "${ZORBA_CORE_URI_DIR}/${_output_path}"
RENAME "${_output_filename}")
ENDIF(NOT _is_core)
-
-
ENDIF (${_output_ext} STREQUAL ".xq" OR ${_output_ext} STREQUAL ".xsd")
ENDIF (NOT ${TEST_ONLY} EQUAL 1)
Follow ups