Fix the bus in install location which is now determine by the OS
This commit is contained in:
parent
c9d06e6b17
commit
f83191bedd
33 changed files with 56 additions and 54 deletions
|
|
@ -23,7 +23,7 @@ if(DOXYGEN_FOUND)
|
|||
"${MO_DOC_DIR}/${MO_DOC_CONFIG_FILE}")
|
||||
install(
|
||||
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
DESTINATION local/share${INSTALL_SUB_DIR}/mo COMPONENT doc
|
||||
DESTINATION share${INSTALL_SUB_DIR}/mo COMPONENT doc
|
||||
PATTERN "CMakeFiles" EXCLUDE
|
||||
PATTERN "cmake_install.cmake" EXCLUDE
|
||||
PATTERN "CTestTestfile.cmake" EXCLUDE
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@
|
|||
######################################################################################
|
||||
|
||||
file(GLOB HDRS *.h mo)
|
||||
install(FILES ${HDRS} DESTINATION local/include${INSTALL_SUB_DIR}/mo COMPONENT headers)
|
||||
install(FILES ${HDRS} DESTINATION include${INSTALL_SUB_DIR}/mo COMPONENT headers)
|
||||
|
||||
######################################################################################
|
||||
### 1) Install directories
|
||||
######################################################################################
|
||||
|
||||
install(DIRECTORY acceptCrit algo comparator continuator coolingSchedule eval explorer memory neighborhood perturb problems sampling
|
||||
DESTINATION local/include${INSTALL_SUB_DIR}/mo
|
||||
DESTINATION include${INSTALL_SUB_DIR}/mo
|
||||
COMPONENT headers
|
||||
FILES_MATCHING PATTERN "*.h"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ foreach (test ${TEST_LIST})
|
|||
add_executable(${test} ${T_${test}_SOURCES})
|
||||
add_test(${test} ${test})
|
||||
target_link_libraries(${test} ga es eoutils eo)
|
||||
install(TARGETS ${test} RUNTIME DESTINATION local/share${INSTALL_SUB_DIR}/mo/test COMPONENT tests)
|
||||
install(TARGETS ${test} RUNTIME DESTINATION share${INSTALL_SUB_DIR}/mo/test COMPONENT tests)
|
||||
endforeach (test)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue