Changed variable names to closer match their usage
Changed the default values to the same as in makefiles Added configured versions of maxscale.conf and maxscale init.d script
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
add_executable(maxadmin maxadmin.c)
|
||||
find_library(HIST edit)
|
||||
#if(HIST)
|
||||
# add_definitions(-DHISTORY)
|
||||
# set(LIBS ${LIBS} {HIST})
|
||||
#endif(HIST)
|
||||
set_target_properties(maxadmin PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/lib)
|
||||
if(HIST)
|
||||
add_definitions(-DHISTORY)
|
||||
target_link_libraries(maxadmin ${HIST})
|
||||
endif()
|
||||
install(TARGETS maxadmin DESTINATION bin)
|
Reference in New Issue
Block a user