Commit 28dc6fec authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

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 ) ...@@ -25,6 +25,15 @@ if( ITA_VISTA_BUILD_STATIC )
endif( ) endif( )
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 # linker
add_executable( VAServer VAServer.cpp ) add_executable( VAServer VAServer.cpp )
target_link_libraries( VAServer ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} ) 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