Linux compat with ncurses and extra target lib (no CMake, a bit quick n dirty)

parent a5bb297a
......@@ -25,6 +25,15 @@ if( ITA_VISTA_BUILD_STATIC )
endif( )
endif( )
# preprocessor
if( NOT WIN32 )
add_definitions( -std=gnu++11 )
list( APPEND VISTA_USE_PACKAGE_LIBRARIES ncurses )
message( ${VISTA_USE_PACKAGE_LIBRARIES} )
endif( )
# linker
add_executable( VAServer VAServer.cpp )
target_link_libraries( VAServer ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment